Bitrix Site Manager

CSOAPRequest::CSOAPRequest

CSOAPRequest::CSOAPRequest(
    string name = "", 
    string namespace = "", 
    array  parameters = array()
);

A standard constructor.

Parameters

Parameter Description
name The name of a message in a request.
namespace The request namespace.
parameters Request parameters in the format array("parameter name" => "value").
The value can be specified in the same format as in the addParameter method.

Example



// Call the web service method "DNSLookup"
$request = new CSOAPRequest( "DNSLookup", "http://tempuri.org/");