php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16709 SOAP: wrong faultdetail decoding
Submitted: 2002-04-20 04:29 UTC Modified: 2002-04-20 04:56 UTC
From: phpbugs at noerenberg dot de Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.0CVS-2002-04-2 OS: Linux
Private report: No CVE-ID: None
 [2002-04-20 04:29 UTC] phpbugs at noerenberg dot de
I am not an expert on SOAP/XML questions but according to various web pages (e.g. http://www.php-mag.de/artikel/goebbels_soap.html (Listing 3)) the fault detail decoding in PEAR-SOAP seems to be wrong:

SOAP/Client.php
-  if (stristr($k,'faultdetail')) $faultdetail = $v;
+  if (stristr($k,'detail')) $faultdetail = $v;

After having changed this my SOAP test setup (perl_daemon<->php_client) works fine.

Hajo

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-20 04:49 UTC] mj@php.net
Fixed in CVS. Thanks for noticing.

- Martin
 [2002-04-20 04:56 UTC] mj@php.net
Restore Hajo's information (Mozilla's auto-form-completion sucks).
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 21 21:03:32 2021 UTC