Re: Setting Soap Headers?

From: Date: Fri, 08 Jul 2005 19:58:37 +0000
Subject: Re: Setting Soap Headers?
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-1951@lists.php.net to get a copy of this message
SoapClient->__soapCall() fourth parameter. Jim Plush wrote:
I'm trying to create a soap client to talk to a c++ soap server using the php5 soap ext. The problem I'm having is the server expects certain header elements to be present, and I cannot seem to find out from php.net how I can set these custom header settings... for instance my soap request should have this at the top <SOAP-ENV:Header> <hdr:sampleauth xsi:type="hdr:authenticate"> <name>JimTest</name> <pass>PassTest</pass> </hdr:sampleauth> </SOAP-ENV:Header> anyone have an idea on how I could implement that using the php5 soap ext? thanks Jim


« previous php.soap (#1951) next »