ID: 35677 User updated by: prefab5 at hotmail dot com Reported By: prefab5 at hotmail dot com -Status: Feedback +Status: Open Bug Type: SOAP related Operating System: Windows PHP Version: 5CVS-2005-12-15 (snap) New Comment:
Sniper, I already added a link to my test scripts for you to use: http://www.mindstix.com/persistenceTestServer.zip Previous Comments: ------------------------------------------------------------------------ [2005-12-15 13:42:07] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2005-12-15 10:33:55] prefab5 at hotmail dot com Description: ------------ When connecting to a SoapServer that also includes PDO to create a database connection, the SoapServer stops sending SOAP-ENV resulting in a "Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in..." Using mysqli to connect to a database within the SoapServer (you actually call PDO/mysqli from within the class that the SoapServer uses) works fine and directly calling the class itself also causes no problems. PHP doesn't crash, but sometimes Apache (2.0.55) does. Reproduce code: --------------- http://www.mindstix.com/persistenceTestServer.zip Expected result: ---------------- Count: 1 Count: 2 Count: 3 Actual result: -------------- Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in C:\test\webservices\persistenceTestClient.php:6 Stack trace: #0 [internal function]: SoapClient->__call('count', Array) #1 C:\test\webservices\persistenceTestClient.php(6): SoapClient->count() #2 {main} thrown in C:\test\webservices\persistenceTestClient.php on line 6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35677&edit=1