Bug in pear::soap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hej All,

It seems that I have discovered a bug in soap. I test the response from
the server and if the response is a pear error object I use the method
from SOAP/client.php __getFault(). The response is a follows:

soap_fault Object ( [error_message_prefix] => [mode] => 1 [level] => 1024
[code] => HTTP [message] => Fatal error: Call to undefined function:
message() in /usr/share/php/SOAP/Server.php on line 205 [userinfo] =>
[backtrace] => Array ( [0] => Array ( [file] =>
/usr/share/php/SOAP/Fault.php [line] => 49 [function] => pear_error
[class] => pear_error [type] => :: [args] => Array ( [0] => Fatal error:
Call to undefined function: message() in /usr/share/php/SOAP/Server.php on
line 205 [1] => HTTP [2] => [3] => [4] => ) ) [1] => Array ( [file] =>
/usr/share/php/SOAP/Base.php [line] => 199 [function] => soap_fault
[class] => soap_fault [type] => -> [args] => Array ( [0] => Fatal error:
Call to undefined function: message() in /usr/share/php/SOAP/Server.php on
line 205 [1] => HTTP [2] => [3] => [4] => [5] => ) ) [2] => Array ( [file]
=> /usr/share/php/SOAP/Transport/HTTP.php [line] => 396 [function] =>
_raisesoapfault [class] => soap_transport_http [type] => -> [args] =>
Array ( [0] => Fatal error: Call to undefined function: message() in
/usr/share/php/SOAP/Server.php on line 205 ) ) [3] => Array ( [file] =>
/usr/share/php/SOAP/Transport/HTTP.php [line] => 523 [function] =>
_parseresponse [class] => soap_transport_http [type] => -> [args] => Array
( ) ) [4] => Array ( [file] => /usr/share/php/SOAP/Transport/HTTP.php
[line] => 152 [function] => _sendhttp [class] => soap_transport_http
[type] => -> [args] => Array ( [0] => select * from album1 [1] => Array (
[trace] => 0 [input] => parse [result] => parse [parameters] =>
[soapaction] => [namespace] => http://localhost#freedb [style] => rpc ) )
) [5] => Array ( [file] => /usr/share/php/SOAP/Client.php [line] => 264
[function] => send [class] => soap_transport_http [type] => -> [args] =>
Array ( [0] => select * from album1 [1] => Array ( [trace] => 0 [input] =>
parse [result] => parse [parameters] => [soapaction] => [namespace] =>
http://localhost#freedb [style] => rpc ) ) ) [6] => Array ( [file] =>
/var/www/html/freedb/lib/client.class.php [line] => 29 [function] => call
[class] => soap_client [type] => -> [args] => Array ( [0] => selectDB [1]
=> Array ( [0] => select * from album1 ) [2] => http://localhost#freedb )
) [7] => Array ( [file] => /var/www/html/freedb/client.php [line] => 29
[function] => selectdb [class] => freedbclient [type] => -> [args] =>
Array ( [0] => select * from album1 ) ) ) [callback] => )

It seems that the soap_fault Object does not get a copy from
pear_fault_Objects message method.

Anyone here who knows a solution?

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
mir <at> datanom <dot> net
http://keys.se.linux.org:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://keys.se.linux.org:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Use free-form input when possible.
            - The Elements of Programming Style (Kernighan & Plaugher)

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux