PHP soap_soapheader_construct function
Like this blog? Consider exploring one of our sponsored banner ads...
SoapHeader->__construct()
(no version information, might be only in CVS)
SoapHeader->__construct() —SoapHeader constructor
Descriptionclass SoapHeader {
__construct ( string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]] )
}
Constructs a new SoapHeader object.
namespace
The namespace of the SOAP header element.
The name of the SOAP header element.
A SOAP header’s content. It can be a PHP value or a
SoapVar object.
Value of the mustUnderstand attribute of the SOAP
header element.
Value of the actor attribute of the SOAP header
element.
Examples
Example 1. Some examples
$client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client->__call("echoVoid", null, null, new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world'));
See Also
SoapClient->__soapCall()SoapVar->__construct()SoapParam->__construct()
About this entry
You’re currently reading “PHP soap_soapheader_construct function,” an entry on BRADINO
- Published:
- 2.26.07 / 12am
- Category:
- PHP Functions
- Tags:
No comments
Jump to comment form | comments rss [?] | trackback uri [?]