Re: SOAP client connecting to .net webservice
| From: | Ammarmar | Date: | Tue, 28 Aug 2007 08:01:36 +0000 |
| Subject: | Re: SOAP client connecting to .net webservice | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2615@lists.php.net to get a copy of this message | ||
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