From: [EMAIL PROTECTED] Operating system: Solaris 9 PHP version: 5CVS-2005-04-27 (dev) PHP Bug Type: SOAP related Bug description: Correct SoapFaults encoded in SOAP Body does work if Axis sends HTTP error 500
Description: ------------ 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. -- Edit bug report at http://bugs.php.net/?id=32857&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32857&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32857&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32857&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32857&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32857&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32857&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32857&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32857&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32857&r=support Expected behavior: http://bugs.php.net/fix.php?id=32857&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32857&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32857&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32857&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32857&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32857&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32857&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32857&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32857&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32857&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32857&r=mysqlcfg