Subject: | XMLRPC::Transport::HTTP::CGI generates extra params |
Date: | Wed, 4 Jun 2008 16:54:19 -0400 |
To: | bug-SOAP-Lite [...] rt.cpan.org |
From: | Steve Wills <steve [...] mouf.net> |
Hi,
I'm using XMLRPC::Transport::HTTP::CGI. I noticed the SOAP-
Lite-0.710.05 version of it produces output that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<string>commandResponse</string>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>result</name>
<value>
<array>
<data>
<value>
<int>7</int>
</value>
</data>
</array>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
Where the old version (0.60 and 0.69 are what I had handy to test)
produce this:
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>result</name>
<value>
<array>
<data>
<value>
<int>7</int>
</value>
</data>
</array>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
I don't know which one is correct, but I can say the one with the
newer version confuses the older XMLRPC::Lite client code. The
reference returned by the XMLRPC::Lite call method is just a reference
to the string "commandResponse", without the actual response value.
This seems to be a bug. If not and I need the newer XMLRPC::Lite
client in order to use the newer server, please let me know.
Thanks,
Steve