Troubleshooting

Issue Workaround
For a REST BT Reference, the RRC file shows error messages even when the validation shows no errors in the file. Error mesages similar to the following are displayed in the Problems window:
'NewRrcResource1.rrc' has some error. Please validate manually.
REST_Binding: 'NewRrcResource1.rrc' has some error. Please validate manually.
Clean the project.
For a REST BT Reference, the RRC to WSDL generation does not generate an array type in XSD if the JSON payload has an array represented by [ ]. As an example, for the following payload:
{getMeresponseType: {
"id": "100006769630394",
"work": [
{
    "employer": {
    "id": "47358345258",
    "name":"Cloud Software Group, Inc."
  }
 }
]
}} 

The generated XSD must look like:

<xs:complexType name="getMeresponseType">
<xs:sequence>
<xs:element type="xs:long" name="id" />
<xs:element type="workType" name="work" maxOccurs="unbounded" minOccurs="0" /> //array
</xs:sequence>
</xs:complexType>
Make sure the array has at least two elements.
If you send a request from a REST Client running on the same machine where REST Service is deployed, you may see REST client IP value as [0:0:0:0:0:0:0:1] on the TIBCO Service Performance Manager dashboard. Make sure the IPv4 DNS resolution is used in the REST Client setting.