#37941 [Opn->Fbk]: Hardcoded faultstring in add_soap_fault on HTTP error codes

From: Date: Wed, 28 Jun 2006 07:52:20 +0000
Subject: #37941 [Opn->Fbk]: Hardcoded faultstring in add_soap_fault on HTTP error codes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98875@lists.php.net to get a copy of this message
ID: 37941 Updated by: tony2001@php.net Reported By: knut dot urdalen at telio dot no -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: Any PHP Version: 5.1.5CVS New Comment: http://news.php.net/php.cvs/38960 - did this patch fix it? Previous Comments: ------------------------------------------------------------------------ [2006-06-28 06:28:33] knut dot urdalen at telio dot no Description: ------------ I pointed Ilia to this problem at PHP Vikinger this weekend as described on the SOAP list: http://news.php.net/php.soap/2135 I see he has just commited the patch to CVS: http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.90&r2=1.91 I'm still opening a bug report to keep track of the issue. Reproduce code: --------------- $client = new SoapClient('some.wsdl'); try { $res = $client->someFunctionThatThrowsASoapFaultFromHTTPFailure(); } catch(SoapFault $e) { echo $e->faultstring; } Expected result: ---------------- The actual HTTP message from the web server. Actual result: -------------- A hardcoded HTTP message. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37941&edit=1

« previous php.bugs (#98875) next »