Return to main navigation Page
This topic discusses Web Services 2.0. For information on Web Services 1.0, see 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.
Begin with the following SAMPLE input SOAP XML:
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns='urn:crmondemand/ws/account/10/2004' xmlns:acc='urn:/crmondemand/xml/account'>
The first parameter is the Url. That would also be available from the WSDLs and along with the session id, should look something like: