Posting xml to webservice via rest post snap

Hi All,

There is a requirement to post xml to a webservice , the input for the pipeline is xml and need to pass this xml as it is to webservice.

I am using xml formatter and binary to document and trying to post via rest post snap to webservice but somehow am receiving 400 error everytime.
The same xml when we are trying to post via postman , it is getting posted successfully to webservice.

Below are the screenshots of pipeline:


Hi Shruthi,

Instead of using REST post we can make use of soap execute snap and we can customize the xml request and invoke webservice to get response back.


Hi nshruthi,

Please find attached screenshot, with the specified configuration you should be able to post incoming data to your specific URL.

Regards, Jovan.