I wanted to use the Webhook Trigger for incoming WebService calls, which are by default in XML (SOAP) as POST Request. They are defined by WSDL,
How do I need to tune the Webhook parameters to have the body as XML for the next node in the flow. Because when I use {{$json.body}} expression it gives me:
[Object: {“soap:envelope”: {“$”: {“xmlns:xsi”: “http://www.w3.org/2001/XMLSchema-instance”, “xmlns:xsd”: …
The incomming data seems to be a bit weirder than normal.
You can read the binary data with an n8n node, it will convert it so you can use the data easily.
Depends on the version you have, if you search for Binary in the nodes you will find it. Probably is going to be “extract from file”
Incoming XML is not weird, It is the common way of integration. And WebServices (as XML) was long time available before JSON.
But also this approach with raw Body is not working:
All TAGS even with a following node TransformJSON2XML are lowercase.