standard.net.soap.SOAPEnvNewWithMethod

SOAPEnvNewWithMethod is available since version 1.0.

Prototype:

number SOAPEnvNewWithMethod(string urn, string method, var number out_env)

Parameters

urn
[in] the urn of the SOAP service to invoke
method
[in] the method name of the SOAP service
out_env
[out] the result envelope like in the example section

Description:

Create an envelope with a method to invoke a soap service. Use this function to create a client call.

Return value:

Returns null if succeeded, or an error handle (to get the error text, you should call SOAPError)

Example
<SOAP-ENV:Envelope xmlns:SOAP-ENV="..." SOAP-ENV:encoding="..."
      xmlns:xsi="..."
      xmlns:xsd="...">
    <SOAP-ENV:Body>
     <m:[method] xmlns:m="[urn]">
     </m:[method]>
    </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>