Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of "Uncaught SoapFault exception: [Client] looks like we got no XML document in..." error

I'm trying to develop business logic for a dynamic site using nusoap on server side (because I need wsdls, and PHP SOAP extension can't generate wsdls), and PHP SOAP extenstion on client side.

However, I can't get even login and getRole functions right. When i try to invoke client, I get following message

Uncaught SoapFault exception: [Client] looks like we got no XML document in [some paths]...

Wsdl does exist on server side, and client does read it (when I put wrong url for wsdl, I get an error).

Can anyone help??

like image 441
Eedoh Avatar asked Mar 29 '10 18:03

Eedoh


1 Answers

It looks like your client receives some invalid XML - either the WSDL itself or the response returned by the server. Try to invoke the client with the trace option set to TRUE and check the actual XML send/received via the __getLastRequest() and __getLastResponse() methods.

like image 189
Henrik Opel Avatar answered Sep 21 '22 14:09

Henrik Opel