Skip to Content

Rest receiver adapter XML/JSON conversion problem?

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 07, 2017 at 01:26 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded