HI,
Am trying to add a hard coded payload to a
SOAP message - but it's escaping the
< and
> characters in the payload to & lt ; and & gt ;
SOAP envelope before adding child payload
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body>soapenv:Body></soapenv:Envelope>
from this code: -
Add the payload to the SOAP envelope
gives this SOAP message
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body>
& lt ;GetMyWebMethod xmlns='http://www.test.com/testGateway/' /
& gt ;</soapenv:Body></soapenv:Envelope>
The SOAP message I want is: -
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body>
<GetMyWebMethod xmlns='http://www.test.com/testGateway/' /
>;</soapenv:Body></soapenv:Envelope>
Any idea how to solve?
thanks
Matthew