Req #53653 [Opn->Csd]: Allow reading message even with server http code > 400
Edit report at https://bugs.php.net/bug.php?id=53653&edit=1
ID: 53653
Updated by: nielsdos@php.net
Reported by: marc dot vachette at gmail dot com
Summary: Allow reading message even with server http code >
400
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: SOAP related
Operating System: window
PHP Version: 5.2.16
-Assigned To:
+Assigned To: nielsdos
Block user comment: N
Private report: N
New Comment:
This is possible already by using the method described in the comment above, at least that works on
the latest master branch.
Previous Comments:
------------------------------------------------------------------------
[2012-09-08 14:53:35] reeze dot xia at gmail dot com
Hi marc,
We could do this already,
please try:
http://php.net/manual/en/soapclient.getlastresponse.php
------------------------------------------------------------------------
[2011-01-04 19:22:35] marc dot vachette at gmail dot com
Description:
------------
When the server i connect through SoapClient returns an error, ir returns it whith
http code 500, and somme error message.
The problem is that php_soap extension do not show message content if the error
code is larger than 400.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53653&edit=1
Thread (3 messages)