You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Martin Gustavsson <ma...@clearit.se> on 2003/11/27 11:33:13 UTC
Multiple return parameters
I'm writing a program that will act as a server for another program
making XML/RPC calls. My problem is that the program making the call is
expecting multiple return values. Obviously Java doesn't support
returning multiple values from a function call, but is there away around
this dilemma?
Thanks in advance,
/Martin
Re: Multiple return parameters
Posted by Tanya Brethour <br...@ncsa.uiuc.edu>.
> I'm writing a program that will act as a server for another program
> making XML/RPC calls. My problem is that the program making the call is
> expecting multiple return values. Obviously Java doesn't support
> returning multiple values from a function call, but is there away around
> this dilemma?
Why not return a vector of objects? Or create a Java object to wrap all
the return values?
-Tanya