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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
9 + 4 = ?
Subscribe to this entry?

 
 [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: Thu Mar 28 20:01:28 2024 UTC