I receive a
JSON message to my
mule flow like this:
"author": "Gambardella, Matthew",
"title": "XML Developer's Guide",
"description": "An in-depth look XML"
And then I use a
JSON to XML transformer with mule and it returns:
<title>XML Developer's Guide</title>
<description>An in-depth look XML</description>
This is my actual mule flow:
JSON To XML -->
I want to transform that
XML to SOAP message adding an URI and a Prefix.
Why I need a Prefix and a SOAP message? I need it to send to the web service and send as follows:
I tried to add an
XSLT component but it return me an error when I use
: (Hex code).
I thought to use the
Dataweave (Mapper) component but it only works with
Mule Enterprise Edition.
This is the result that I want:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/" xmlns:pref="URI_SOAP_WS">
<pref:title>XML Developer's Guide</pref:title>