Transform JSON into XML and back

Use the Datakit plugin to transform JSON request bodies into XML before sending them to an external service, then convert the XML response back into JSON.

This example contains the following nodes:

  1. The node JSON_XML converts the incoming JSON request body into XML format.
  2. The node CALL sends the XML data to an external SOAP API.
  3. The node XML_JSON converts the XML response from the external SOAP API back into JSON format and sets it as the response body.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!