Re: [SOAP] SOAP client connecting to .net webservice

[email protected] (Samisa Abeysinghe)
Newsgroups php.soap
Message-ID <[email protected]>
> $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&nbsp;Axis2/C&nbsp;The&nbsp;Web&nbsp;Services&nbsp;Engine"
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.