|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32857 Correct SoapFaults encoded in SOAP Body does work if Axis sends HTTP error 500
Submitted: 2005-04-27 20:04 UTC Modified: 2005-05-17 17:45 UTC
From: Assigned:
Status: Closed Package: SOAP related
PHP Version: 5CVS-2005-04-27 (dev) OS: Solaris 9
Private report: No CVE-ID: None
 [2005-04-27 20:04 UTC]
After updating our application server to a Axis 1.2 (before it was Axis 1.1), the handling of SOAP faults in PHP does not work correct.
Axis 1.2 sends a HTTP server error 500 together with the XML body containing the SoapFault with its error message (in Axis the Message of a java.rmi.RemoteException).
Instead of throwing a correct exception containing the FaultString of the XML body, PHP displays a "Internal Server Error" fault (I think because he gets the 500 HTTP Error).
PHP should also handle "500" as valid response from SOAP if it contains a correct XML body with SOAP envelope and decode it. If there is some HTML or other non-XML in it (a "real" HTTP error) it can throw the exeption with the server error like before.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-17 17:16 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-05-17 17:45 UTC]
Works since Dmitry's last change:
Tested this on Saturday but forgot to close this bug.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 22:01:30 2024 UTC