Re: SOAP client connecting to .net webservice

From: Date: Tue, 28 Aug 2007 10:23:28 +0000
Subject: Re: SOAP client connecting to .net webservice
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-2616@lists.php.net to get a copy of this message
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 <milo@3dsite.nl> 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


« previous php.soap (#2616) next »