problem with web service
Posted: Wed Dec 21, 2011 11:02 am
Hi to everyone.
A friend of mine implemented a web service and she can consume it when running Apache with WAMPP. When I try to consume the same web service with the same code I get:
Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='soapclient.soapclient'>soapclient.soapclient</a>]: Invalid parameters in C:\xampp\htdocs\Prueba\clienteUsuario.php:7 Stack trace: #0 C:\xampp\htdocs\Prueba\clienteUsuario.php(7): SoapClient->SoapClient('http://localhos...', true) #1 {main} thrown in C:\xampp\htdocs\Prueba\clienteUsuario.php on line 7
I'm using XAMPP 1.7.2. Then I tried to consume the web service in an application developed with Yii and I get:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/Prueba/wsUsuario.php?wsdl' : Premature end of data in tag definitions line 2
A friend of mine implemented a web service and she can consume it when running Apache with WAMPP. When I try to consume the same web service with the same code I get:
Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='soapclient.soapclient'>soapclient.soapclient</a>]: Invalid parameters in C:\xampp\htdocs\Prueba\clienteUsuario.php:7 Stack trace: #0 C:\xampp\htdocs\Prueba\clienteUsuario.php(7): SoapClient->SoapClient('http://localhos...', true) #1 {main} thrown in C:\xampp\htdocs\Prueba\clienteUsuario.php on line 7
I'm using XAMPP 1.7.2. Then I tried to consume the web service in an application developed with Yii and I get:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/Prueba/wsUsuario.php?wsdl' : Premature end of data in tag definitions line 2