You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by David García <da...@upf.edu> on 2006/03/24 10:59:57 UTC
Casting in a Java client a Python Server List
Hi all,
I have a Python XML-RPC Server and a Java XML-RPC client, I'm using
xmlrpc-3.0a1 version, and the client, once has made a request, must to
receive a parameter that in the server is a Python List, but I don't
know what kind of cast I must to do in the client.
I've tried out with List, ArrayList, Vector, Hashmap, Map, Byte[],
Object[]...but I always get the same error message in the client:
"Unexpected non-whitespace character data"
What kind of cast I must to do so that I can get the data in the client?
----
David
Re: Casting in a Java client a Python Server List
Posted by Jochen Wiedmann <jo...@gmail.com>.
On 3/24/06, David García <da...@upf.edu> wrote:
> I have a Python XML-RPC Server and a Java XML-RPC client, I'm using
> xmlrpc-3.0a1 version, and the client, once has made a request, must to
> receive a parameter that in the server is a Python List, but I don't
> know what kind of cast I must to do in the client.
>
> I've tried out with List, ArrayList, Vector, Hashmap, Map, Byte[],
> Object[]...but I always get the same error message in the client:
>
> "Unexpected non-whitespace character data"
>
> What kind of cast I must to do so that I can get the data in the client?
A complete stack trace and a dump of the servers response (created
using tcpmon) would help.
Jochen
--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)