ZF-6249: If the XML-RPC call returns "Long" type, the client will get a "Fatal error"

Issue Type: Bug Created: 2009-04-09T06:54:37.000+0000 Last Updated: 2009-08-22T08:10:26.000+0000 Status: Resolved Fix version(s): Reporter: Xing Xing (mikespook) Assignee: Lars Strojny (lars) Tags: - Zend_XmlRpc_Client

Related issues: Attachments:


The server was writen by Java, using apache xml-rpc lib. The calling method looks like this:

public long bar() {
    return 1234567890;

Then the zend xmlrpc client got a Fatal error:

Fatal error: Uncaught exception 'Zend_XmlRpc_Client_FaultException' with message 'Failed to parse response' in Z:\working\www\foobar\Zend\XmlRpc\Client.php:348 Stack trace: #0 Z:\working\www\foobar\foobar.php(4): Zend_XmlRpc_Client->call('') #1 {main} thrown in Z:\working\www\foobar\Zend\XmlRpc\Client.php on line 348

And this code:

public int bar() {
    return 1234567890;

works fine!


Posted by Lars Strojny (lars) on 2009-08-22T08:10:25.000+0000

I would need more information to resolve this issue properly. Could you provide a stripped down example (client and server) on how to reproduce the issue?

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.