SAP Knowledge Base Article - Public

3036506 - When Simulating The REST API Webservice Response Is Not Shown

Symptom

When you are simulating the REST API webservice you get a success response message (COD -> 200 http message). It indicates that the REST API is successfully carried out, but in C4C response message is showing only the end of the message.

Environment

SAP Cloud for Customer.

Reproducing the Issue

  1. Go to Administrator work center.
  2. Select Mashup WebService.
  3. Open service ID CW00000 (CW00000 is the service created).
  4. Click on Simulate.

Cause

Service response is coming in JSON format although mode has been specified as XML.

We do not support JSON format handling for Data mashup and same holds true for Preview as well.

Resolution

 If response comes in XML format, then things will work fine.

Keywords

COD 200, Service mashup, simulate service mashup. , KBA , rest , webservice , api , AP-RC-GEN-MSH , Mashups , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions