php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53653 Allow reading message even with server http code > 400
Submitted: 2011-01-04 19:22 UTC Modified: 2011-01-06 03:02 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: marc dot vachette at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.2.16 OS: window
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-01-04 19:22 UTC] 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.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-06 03:02 UTC] aharvey@php.net
-Package: *General Issues +Package: SOAP related
 [2012-09-08 14:53 UTC] reeze dot xia at gmail dot com
Hi marc,
      We could do this already,
please try:
http://php.net/manual/en/soapclient.getlastresponse.php
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 15 12:01:26 2019 UTC