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: 2024-05-29 19:16 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: nielsdos (profile)
Status: Closed Package: SOAP related
PHP Version: 5.2.16 OS: window
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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
 [2024-05-29 19:16 UTC] nielsdos@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nielsdos
 [2024-05-29 19:16 UTC] nielsdos@php.net
This is possible already by using the method described in the comment above, at least that works on the latest master branch.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC