You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Invoking SOAP with xml in the request body

Received Response
21
Views
1
Comments

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>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!