From: cfendt at silicom dot fr
Operating system: WinXp, Mac OS X
PHP version: 5.0.3
PHP Bug Type: SOAP related
Bug description: SoapServer::handle() stops the script
Description:
------------
Hello,
I try to make some DB work after a SoapServer::handle()... but the script
ends!
on the output, we can see the soapFault dump, but no "<!-- Alive!!!!
-->"...
I try it on Win 5.0.1, Win 5.0.3, Win 5.0-CVS (15/2/2005), Win 5.1-CVS
(15/2/2005), OS X 5.0.1 (build from source), OS X 5.0.3 (build from
source)
Reproduce code:
---------------
<?php
$server = new SoapServer(null,
array('uri' => "http://test-uri/"));
$server->handle("");
echo "\r\n<!-- Alive!!!! -->\r\n";
?>
Expected 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>
<!-- Alive!!!! -->
Actual 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>
--
Edit bug report at http://bugs.php.net/?id=31993&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31993&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31993&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31993&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31993&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31993&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31993&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31993&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31993&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31993&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31993&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31993&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31993&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31993&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31993&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31993&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31993&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31993&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31993&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31993&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31993&r=mysqlcfg