Re: [SOAP] How to get SOAP header in response?

[email protected] (PMT)
Newsgroups php.soap
Message-ID <[email protected]>
I found it. It is the 5th argument of __soapCall.

$soapclient->__soapCall("soapmethod", array( ... parameters ...), null,
$mySoapHeader, &$mySoapHeader);

I don't really need the header I sent anymore, so overwriting it is no
problem for me.

PMT.


PMT wrote:
> 
> With SOAP extension:
> 
> $soapclient->__soapCall("soapmethod", array( ... list of parametes ...));
> 
> returns the SOAP response body. How do you get the SOAP header? I tried
> the getLastResponseHeaders() method, but that only gives me the HTTP
> headers.
> 
> Thanks.
> 
> PMT.
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-SOAP-header-in-response--tf4336867.html#a12353490
Sent from the Php - Soap mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.