You are here: Integrating With CPQ Cloud > Web Services 1.0 and SOAP APIs > Prepare a SOAP Request with Web Services 1.0

Prepare a SOAP Request with Web Services 1.0


We need to build out the SOAP request. We recommend using a tool such as SoapUI for this. SoapUI takes in the WSDL as input and generates the SOAP request for each API call defined by the WSDL. All we have to do, is take this SOAP request, change it to have the fields we require, and send it through a POST HTTP request.


Let's assume we have the required WSDL files containing the definitions of the various web services available. Secondly, let us assume we have the session ID.

  1. Begin with the following SAMPLE input SOAP XML.
    1. <soapenv:Envelope xmlns:soapenv='' xmlns:ns='urn:crmondemand/ws/account/10/2004' xmlns:acc='urn:/crmondemand/xml/account'>









      <acc:AccountName>LIKE ‘*BAKE*'</acc:AccountName>



















  2. Put this SOAP input into a POST request. In CPQ Cloud we would do this through URLDATABYPOST.
  3. "Stringify" the above SOAP input, and that forms second parameter to URLDATABYPOST.
  4. The first parameter is the Url. That would also be available from the WSDLs and along with the session id, should look something like:
    1.;jsession= 8d497390b14d3588fef9b6f.e3iRbuMa


Related Links

Related Topics Link IconSee Also