Re: SOAP client connecting to .net webservice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux