Hello folks,

I'd try the PHP docs example from
http://de.php.net/manual/de/function.soap-soapserver-handle.php

 <?php
function test($x)
{
    return $x;
}

$server = new SoapServer(null, array('uri' => "http://test-uri/";));
$server->addFunction("test");
$server->handle();
?>

If I open the test.php (with FF) on a linux server I get
<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>

If I open the test.php on a vista "server" I get nothing. A blank site. The
logs don't have any error messages for me.
error_reporting  = E_ALL

Could it be a bug of php or ....?

Thanks
Stefan

Reply via email to