Posted by Charles FENDT on 10/04/70 11:08
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)
Navigation:
[Reply to this message]
|