Re: [SOAP] PhP SoAp Ws Security ? (probably)

[email protected] (Richard Quadling) Sun, 26 Dec 2010 09:21:50 +0000
Newsgroups php.soap
Message-ID <[email protected]>
On 25 December 2010 17:57, bkrqpzef <[email protected]> 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