Re: SOAP client connecting to .net webservice

[email protected] (Milo van der Linden)
Newsgroups php.soap
Message-ID <[email protected]>
Thanks all, this seems to work. However I am stuck with trying to get 
authentication that is in the header now.

What I want to see very desperatly is the content of the SoapClient in 
XML BEFORE it is sent, is this possible?

Ammarmar schreef:
> Dnia 27-08-2007 o 21:32:21 Milo van der Linden <[email protected]> napisał(a):
> 
>> $x=new SoapVar($x,SOAP_ENC_OBJECT);
>> $y["AuthenticationHeader"]=$x;
>> $y=new SoapVar($y,SOAP_ENC_OBJECT);
>>
>>
>> I cannot figure out how to set the namespace parameters!
>>
> 
> You can specify the namespace (and type name) in SoapVar constructor, e.g:
> 
> $x = new SoapVar($x, SOAP_ENC_OBJECT, "AuthenticationHeader", 
> "http://www.itworks.nl/");
> 
> see manual:
> 
> http://php.net/manual/en/function.soap-soapvar-construct.php
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.