Mulesoft 4 Transformation – Convert JSON to XML

Dataweave code to convert JSON to XML in Mulesoft 4

We will start creating Mule Project in Anypoint studio and input would be provided by Http Listener.

Make sure MIME type of Http Listener set to application/json, otherwise we will get below error :

Dataweave Error: You called the function ‘Value Selector’ with these arguments …

Mulesoft Project structure below

Mulesoft Project – Convert JSON to XML
Continue reading “Mulesoft 4 Transformation – Convert JSON to XML”