#31993 [Opn->Asn]: SoapServer::handle() stops the script
| From: | derick@php.net | Date: | Wed, 16 Feb 2005 11:52:52 +0000 |
| Subject: | #31993 [Opn->Asn]: SoapServer::handle() stops the script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74160@lists.php.net to get a copy of this message | ||
ID: 31993
Updated by: derick@php.net
Reported By: cfendt at silicom dot fr
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: WinXp, Mac OS X
PHP Version: 5.0.3
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2005-02-16 09:39:31] cfendt at silicom dot fr
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 this bug report at http://bugs.php.net/?id=31993&edit=1