SoapHeader->__construct()
(no version information, might be only in CVS)
SoapHeader->__construct() --
SoapHeader-Konstruktor
Beschreibung
class
SoapHeader {
__construct ( string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]] )
}
Erzeugt ein neues SoapHeader-Objekt.
Parameter Liste
namespace
Namensraum des SOAP-Header-Elements.
name
Name des SOAP-Header-Elements.
data
SOAP-Header-Inhalt. Der Inhalt kann ein PHP-Wert oder auch ein
SoapVar-Objekt sein.
mustUnderstand
Wert des mustUnderstand Attributes des SOAP-Header-Elements.
actor
Wert des actor Attributes des SOAP-Header-Elements.
Beispiele
Beispiel 1. Beispiele
<?php $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')); ?>
|
|