standard.net.soap.SOAPEnvNewWithResponse

SOAPEnvNewWithResponse is available since version 1.0.

Prototype:

number SOAPEnvNewWithResponse(number req_env, var number out_env)

Parameters

req_env
[in] the request object. A response object will be created to this request.
out_env
[out] the result envelope like in the example section

Description:

Create a soap envelope with a response. Use this function to create a response envelope object for a request. This function is only relevant for soap service implementors.

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:[req-method]Response xmlns:m="[req-urn]">
     </m:[req-method]>
    </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>