Re: [SOAP] PhP SoAp Ws Security ? (probably)
| From: | Richard Quadling | Date: | Sun, 26 Dec 2010 09:21:50 +0000 |
| Subject: | Re: [SOAP] PhP SoAp Ws Security ? (probably) | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3175@lists.php.net to get a copy of this message | ||
On 25 December 2010 17:57, bkrqpzef <bjornulf.frode@gmail.com> wrote:
>
> Hello,
> I'm stuck with a request on a webservice. I have some credentials but i
> don't know where to put them. :)
http://docs.php.net/manual/en/class.soapheader.php
http://docs.php.net/manual/en/soapclient.setsoapheaders.php
A SOAPHeader is another class (like SOAPClient, SOAPServer).
You attach the SOAPHeader using the SOAPClient's setSoapHeader() method.
Full example is in the setSoapHeader docs.
Your wsdl file should give you the class you need to call.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY