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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: marc dot vachette at gmail dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 11:01:29 2024 UTC