From:             prefab5 at hotmail dot com
Operating system: Windows
PHP version:      5CVS-2005-12-15 (snap)
PHP Bug Type:     SOAP related
Bug description:  Using PDO with SOAP (Webservices) causes errors.

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 bug report at http://bugs.php.net/?id=35677&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35677&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35677&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35677&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35677&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35677&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35677&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35677&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35677&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35677&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35677&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35677&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35677&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35677&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35677&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35677&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35677&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35677&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35677&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35677&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35677&r=mysqlcfg

Reply via email to