CSOAPRequest::addSOAPHeader
void
CSOAPRequest::addSOAPHeader(
string name,
AnyDataType value
)
The method addSOAPHeader adds a named value to a SOAP request.
Parameters
Parameter |
Description |
name |
The name of a message in the SOAP request header. |
value |
Associated array describing the message contents in the request
header. See CXMLCreator::encodeValueLight. |
Example
$request->addSOAPHeader(
"LicenseInfo xmlns=\"http://ws.strikeiron.com\"",
array(
"UnregisteredUser" => array( "EmailAddress" => "qwerty@mail.ru" ))
);