You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by stephane parenton <st...@parenton.com> on 2003/07/30 17:21:15 UTC

Re: how one would do to.... the return

John Wilson a écrit:

>It's reasonably easy to do. You can pass Java classes as <base64> elements
>in an XML-RPC message.
>  
>
hi again.... i'm not reasonable ;-) i can't make it work.... my problem 
is the xmlrpc message....

i have a server called wserver, in which i have (the name of sendAgent 
is poorly chosen because it's more likely the receiveAgent...) :
...
server.addHandler( "agent", new sendAgent() );
...
this server runs on the computer i want classes to be updated.


I run a small program within which i have a case calling :

System.out.println(client.getDatas("agent","ecriture",new Vector()));

and i have a class sendAgent in which i have a procedure called 
"ecriture" that should get things and write them to the appropriate 
location....

My problem is probably my understanding of the xml-rpc thing, but here 
what i'm trying to do : I want to send base64 datas as parameters (am i 
right ?). but i don't figure out how and where to send this... is it 
instead of the "new Vector" thing ? I tried to let "ecriture" to have 
parameters, but then i had to change the calling in the 
client.getDatas.... there, i'm lost, mostly because i don't understand 
one thing that may be obvious for you.... can somebody please give me a 
push ?.... ;-)

Thanks in advance
Stéphane