ZF-10920: XML_RPC not working

Issue Type: Bug Created: 2011-01-05T15:59:08.000+0000 Last Updated: 2011-01-25T13:33:24.000+0000 Status: Resolved Fix version(s): - 1.11.3 (01/Feb/11)

Reporter: Gonzalo Martinez (gmartine) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_XmlRpc_Server

Related issues: - ZF-10978




I've just detected that the communication functionality based on xml_rpc stoped working when I upgraded from 1.11.1 to 1.11.2.

I have now rolled back the upgrade to 1.11.1 again and things are working again.

At code level the problem seems to start at : Zend_XmlRpc_Response:__toString()

It looks like the server is formatting the xml response wrong, for example;

<pre class="highlight">
<?xml version="1.0" encoding="UTF-8"?>


Posted by Jens-Christian Skibakk (jenscski) on 2011-01-05T23:44:04.000+0000

I have the same issue, and have found out that the problem is a commit to Zend_XmlRpc_Value, which broke many amongst other things the support for structs (or associative arrays)

Se diff for a fix (not tested for all return types).

Posted by Ramon Henrique Ornelas (ramon) on 2011-01-06T08:47:49.000+0000

I believe that this issue already was fixed with ZF-8580 but not was merged to branch release 1.11. You could try reproduced with version of the trunk to confirmed this correction.

Greetings Ramon Henrique Ornelas

Posted by Jens-Christian Skibakk (jenscski) on 2011-01-06T23:13:06.000+0000

I did a checkout of the XmlRpc code in trunk, replaced all files i the 1.11 branch with the trunk files, that fixed it!

Posted by Ramon Henrique Ornelas (ramon) on 2011-01-07T06:12:18.000+0000

Was fixed? Because tomorrow i will review this issue together with tests, to merged with branch release 1.11.

Posted by Ramon Henrique Ornelas (ramon) on 2011-01-08T13:19:36.000+0000

The merge r23584 incomplete fixed with r23624 - thanks.

Have you found an issue?

See the Overview section for more details.


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

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