ID:               31993
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to