(PHP 5 >= 5.0.1)
SoapHeader::SoapHeader — سازنده SoapHeader
سازنده شی جدید SoapHeader object.
فضای نام سرایند جز SOAP header.
نام شی SoapHeader.
محتوای سرایند SOAP. مقدار PHP یا شی SoapVar.
مقدار ویژگی mustUnderstand جز سرایند SOAP.
مقدار ویژگی actor جز سرایند SOAP.
Example #1 مثال SoapHeader::SoapHeader()
<?php
$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"));
$client->__soapCall("echoVoid", null, null,
new SoapHeader('http://soapinterop.org/echoheader/',
'echoMeStringRequest',
'hello world'));
?>