SoapServer::handlle
| From: | Charles FENDT | Date: | Tue, 15 Feb 2005 16:32:50 +0000 |
| Subject: | SoapServer::handlle | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-208817@lists.php.net to get a copy of this message | ||
Hello,
here is an example:
<?php
$server = new SoapServer(null, array('uri' => "http://test-uri/"));
$server->handle("");
echo "\nAlive!!!!\n";
?>
here is the result
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Bad Request</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
this didn't output "Alive!!!!" on stdout...
the script ends with the SoapServer::handle() call.
Did i miss something?
an option ?
regards
FENDT Charles
P.S. I need to use the WSDL mode. The same happened, but this is easier show my probleme
(no need of a WSDL file)