Invoking SOAP with xml in the request body
Summary:
Invoking SOAP with xml in the request body (in bold)
Content (required):
Hi,
My wsdl requires an xml in the request body (in bold),
How to create the map in such case ?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:onl="http://www.smartfreight.com/online">
<soapenv:Header/>
<soapenv:Body>
<onl:Import>
<!--Optional:-->
<onl:id>?</onl:id>
<!--Optional:-->
<onl:passwd>?</onl:passwd>
<!--Optional:-->
<onl:reference>?</onl:reference>
<!--Optional:-->
<onl:consignmentxml><![CDATA[<Connote>
<accno>18797A</accno>
<applymarkup>Yes</applymarkup>
<carriername>TOLL PARCELS</carriername>
<chargeto>Sender</chargeto>
<condate>19/06/2023</condate>
<freightlinedetails>
<amt>1</amt>
<cube>0.01760</cube>