downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SoapHeader::SoapHeader> <SoapHeader
Last updated: Fri, 30 Oct 2009

view this page in

SoapHeader->__construct()

(PHP 5 >= 5.0.1)

SoapHeader->__construct() SoapHeader-Konstruktor

Beschreibung

__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->__soapCall("echoVoid"nullnull,
                    new 
SoapHeader('http://soapinterop.org/echoheader/',
                                   
'echoMeStringRequest',
                                   
'hello world'));
?>



add a note add a note User Contributed Notes
SoapHeader->__construct()
There are no user contributed notes for this page.

SoapHeader::SoapHeader> <SoapHeader
Last updated: Fri, 30 Oct 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites