Re: SOAP client connecting to .net webservice

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

 




$ini = ini_set("soap.wsdl_cache_enabled","0");
$client = new SoapClient("http://10.0.0.56:81/wssoilution/wsSoilution.asmx?WSDL";, array('location' => 'http://10.0.0.56:81/wssoilution/wsSoilution.asmx', 'uri' => 'itw', 'trace' => 1)); The error I am recieving is: Fatal error SoapHeader:SoapHeader(): Invalid parameters. Invalid namespace in soaptest.php on line 20
Basically the namespace you are giving to the client with 'uri' option is invalid. Because you are using the WSDL mode of the client, I think you can safely remove the 'uri' option form the SoapClient constructor.

HTH.

Samisa...

--
Samisa Abeysinghe - Apche Axis2/C
"http://ws.apache.org/axis2/c/?Apache Axis2/C The Web Services Engine";

--
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