PDA

View Full Version : Soap Client not working on Blue Host



Delnt_Carlos
04-09-2008, 12:44 PM
Hi everybody
I have a problem and I would appreciate some help. :confused:

I'm using a Soap php web service on bluehost, both server and client. The server is working fine, I can connect to it with outside clients (my computer and a client in another web hosting service), yet the client on blue host keeps generating error messages:


[09-Apr-2008 12:29:26] PHP Warning: SoapClient::SoapClient() expects parameter 2 to be array, boolean given in /home2/delegat2/public_html/dennis/soapexample/soaputils.php on line 13 [09-Apr-2008 12:29:26] PHP Fatal error: SoapClient::SoapClient() [<a href='function.SoapClient-SoapClient'>function.SoapClient-SoapClient</a>]: Invalid parameters in /home2/delegat2/public_html/dennis/soapexample/soaputils.php on line 13 [09-Apr-2008 12:29:26] PHP Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='function.SoapClient-SoapClient'>function.SoapClient-SoapClient</a>]: Invalid parameters in /home2/delegat2/public_html/dennis/soapexample/soaputils.php:13 Stack trace: #0 /home2/delegat2/public_html/dennis/soapexample/soaputils.php(13): SoapClient->SoapClient('http://69.89.31...', true) #1 /home2/delegat2/public_html/dennis/soapexample/soaplist.php(8): getSoapClient() #2 {main} thrown in /home2/delegat2/public_html/dennis/soapexample/soaputils.php on line 13

imranrahi
05-26-2008, 08:23 AM
Use nusoap_client() instead of soapclient(). PHP5 has some problem with legacy functions on NuSoap.