Convert REST response to XML

Convert REST response to XML

Hello, I need an example of how to convert the response of a REST web service to XML. Can someone help me?
Hi Huarlem,

The help page for customizing responses has that exact example there.
Check it here.

Just noticed that the forge component mentioned there does not exist and notified the responsable team.

For that part you just need to create an extension, and get from the net some library that can convert json to xml. (for example in :Net you have the Json.Net that has a method for it)

Also another alternative is to instead of having a Structure as response, you can change it to Text and just use the XML Records component to create your text.This avoids doing the json step and gives you more control on the format and namespaces of the xml.

João Rosado
Thank you very much. Solved my problem.