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
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 !
Your email address:
MUST BE VALID
Solve the problem:
41 - 3 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC