On Wed, 2008-07-16 at 17:44 -0700, VamVan wrote: > Hello Guys, > > I have been getting a wierd soap exception lately > > > [faultstring] => looks like we got no XML document > [faultcode] => Client > [faultcodens] => http://schemas.xmlsoap.org/soap/envelope/ > > What does that mean? The call gets properly called and it does what it needs > to do, but the response xml is always a $fault? Did anyone have this > problem? I am using php 5.2.6 for the info. This is usually a malformed XML document - I had the problem recently when fetching an XML document that wasn't complete (no </xml>). Check what you're *actually* getting with something like: } catch(SoapFault $exception) { $request_xml = $client->__getLastRequestHeaders() . $client->__getLastRequest(); $response_xml = $client->__getLastResponseHeaders() . $client->__getLastResponse(); print "Response:".$response_xml; print "Request:".$request_xml; print $exception; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php