Hello All,
How to manage Request and Response in XML format using REST web service? Can somebody give me some reference on it.
Thanks
Hi,
Have a look at this post that contains instructions on how to do it.
https://www.outsystems.com/forums/discussion/36143/guide-consume-rest-api-with-xml-request/
Regards,
Daniël
Daniël Kuhlmann wrote:
Hi Daniel,
Thanks for reply.
I followed the steps which are mentioned on the given URL but i stuck after
"After this you just have to create the XML request your API needs, for example the one we use: "
this statement I don't understand.
Hi again,
If you install the following Forge component and the demo application
https://www.outsystems.com/forge/component-overview/9567/advanced-rest/
then on the demo screen
Use the Content negotiation - XML, you see how how an OutSystems API can return either JSON or XML based on the content type passed on Accept header.
It also demonstrate how to call an the REST api that returns XML.
Daniel