Bug #55348 [Com]: SoapServer (typemap related) "Error calling from_xml callback"
Edit report at https://bugs.php.net/bug.php?id=55348&edit=1
ID: 55348
Comment by: chris at cmbuckley dot co dot uk
Reported by: sprotte at visionconnect dot de
Summary: SoapServer (typemap related) "Error calling from_xml
callback"
Status: Open
Type: Bug
Package: SOAP related
Operating System: openSUSE 11.4
PHP Version: 5.3.7RC4
Block user comment: N
Private report: N
New Comment:
This was fixed in PHP 8.2.0beta1. There is a fix in the SOAP extension in 8.2, but as this is
backported to 8.x, the issue must have been in Core.
Previous Comments:
------------------------------------------------------------------------
[2013-05-02 15:07:31] sprotte at visionconnect dot de
Any news to this? Like Chris said, this is also happening when xdebug is NOT installed. The problem
still exists in PHP 5.3.24.
------------------------------------------------------------------------
[2012-02-12 18:20:08] chris at cmbuckley dot co dot uk
Regardless of the Xdebug comment, the error is still present without Xdebug; if the from_xml
callback generates an error more than once during server handling, the error message "Error
calling from_xml callback" is shown instead of the actual fault.
------------------------------------------------------------------------
[2011-08-23 12:26:15] derick@php.net
There is an incompatibility with Xdebug and the SOAP extension, due to the way that the SOAP
extension also overloads php_error_cb. In order to properly fix this, the error_cb overloading needs
to be changed. I don't however know, exactly how.
See also:
http://bugs.xdebug.org/view.php?id=609
http://bugs.xdebug.org/view.php?id=705
------------------------------------------------------------------------
[2011-08-23 11:19:45] chris at cmbuckley dot co dot uk
Additional: Fatal only happens in conjunction with Xdebug (see https://bugs.php.net/bug.php?id=50547).
------------------------------------------------------------------------
[2011-08-22 19:48:28] chris at cmbuckley dot co dot uk
Description:
------------
Reduced to smaller test script.
Test script:
------------
http://starsquare.co.uk/code/php/bugs/55348.phps
Expected result:
----------------
...
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Conversion Fault</faultstring>
</SOAP-ENV:Fault>
...
Actual result:
--------------
Fatal error: SOAP-ERROR: Encoding: Error calling from_xml callback
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55348
--
Edit this bug report at https://bugs.php.net/bug.php?id=55348&edit=1
Thread (9 messages)