Re: Problems receiving a Python Server List in a Java Client
David ds <[email protected]>
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
I don't have any message as I don't implemented the
Python server, I've onle implemented the Java XMLRPC
client using the Apache Java implementation, and when
I do next:
try{
List result = (List)client.execute("guess_mood",
parameters);
}
catch(XmlRpcException e){
System.err.println("Quering server, ERROR in Client,
said: " + e.getMessage());
}
where it's written 'List' I?ve already tried Vector,
ArrayList, ...
-----
David
--- John Wilson <[email protected]> escribió:
>
> On 22 Mar 2006, at 10:35, David ds wrote:
>
> > I have a XMLRPC Python Server and a Java client.
> >
> > The server method I query from the client returns:
> >
> > output_pairs = [(class_names[i],classes[i]) for i
> in
> > range(len(class_names))]
> > output_pairs.sort(lambda
> > x,y:int(y[1]*100000-x[1]*100000))
> > return output_pairs
> >
> > and I can't get it from the client, I've tried
> with
> > differents casts, as ArrayList, List, Object[],
> > Vector...
> >
> > but I always get "Unexpected non-whitespace
> character
> > data" message.
>
> Can you post the exact message please?
>
> It looks like there's some invalid XML getting
> generated.
>
>
> John Wilson
> The Wilson Partnership
> http://www.wilson.co.uk
>
>
>
>
>
> Yahoo! Groups Links
>
>
> [email protected]
>
>
>
>
>
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/