note 83489 added to book.soap
| From: | aeg at mallxs dot nl | Date: | Wed, 28 May 2008 12:19:20 +0000 |
| Subject: | note 83489 added to book.soap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139920@lists.php.net to get a copy of this message | ||
SoapFault exception: [SOAP-ENV:Client] looks like we got no XML document
This error can have to reasons:
1: Your server script has some hidden output like spaces before or afher <?php ... ?> or
echoing some text
2: You have a bug in your server script;
resulting in a error message output
Test your server script by calling it direct from the browser.
The result should be a clean output like :
â<SOAP-ENV:Envelope>
â<SOAP-ENV:Body>
â<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Bad Request. Can't find HTTP_RAW_POST_DATA</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This tell's you there was a request but without data; This is OK
Now if you get the error when calling with your soap client;
remember that your server now will call other functions in the server.php script because it now has
some data to process
----
Server IP: 89.248.170.61
Probable Submitter: 84.246.5.4
----
Manual Page -- http://www.php.net/manual/en/book.soap.php
Edit -- https://master.php.net/note/edit/83489
Del: integrated -- https://master.php.net/note/delete/83489/integrated
Del: useless -- https://master.php.net/note/delete/83489/useless
Del: bad code -- https://master.php.net/note/delete/83489/bad+code
Del: spam -- https://master.php.net/note/delete/83489/spam
Del: non-english -- https://master.php.net/note/delete/83489/non-english
Del: in docs -- https://master.php.net/note/delete/83489/in+docs
Del: other reasons-- https://master.php.net/note/delete/83489
Reject -- https://master.php.net/note/reject/83489
Search -- https://master.php.net/manage/user-notes.php