286
Views
3
Comments
How to manage Request and Response in XML format using REST web service

Hello All,

How to manage Request and Response in XML format using REST web service? Can somebody give me some reference on it.


Thanks

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

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

UserImage.jpg
Shaun11

Daniël Kuhlmann wrote:

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

 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.


 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

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.

Regards,

Daniel

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.