cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Rest receiver adapter XML/JSON conversion problem?

umesh_badveli
Participant
0 Likes
1,576

Hi All,

I have a scenario proxy to rest async.

Now I have problem at rest receiver while posting the data into URl it is going with empty strings.

But message log (Version3) I am able to see the converted JSON but in version4 it is in xml tags.

When I use data convert is XML it is successfully reached with data.

.can any one help me with the same.

View Entire Topic
Former Member
0 Likes

Hi Umesh,

First of all, your URL pattern variables seems not to be betwen {}. Check this example https://blogs.sap.com/2014/12/18/pi-rest-adapter-consuming-synchronous-restful-service/

However, i probably misunderstand something, is it your proxy generating the message in JSON format?, if it is in XML you should use Convert XML to JSON in rest receiver channel.

Respect the VO in xml format i think this step only shows XML validation, independently if you are using JSON transformation, but i am not 100% sure.

Regards.