Skip to Content
0

Rest receiver adapter XML/JSON conversion problem?

6 days ago

39

avatar image

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.

1.jpg (130.7 kB)
2.jpg (86.9 kB)
3.jpg (180.2 kB)
4.jpg (86.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Iñaki Vila 6 days ago
0

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.

Share
10 |10000 characters needed characters left characters exceeded