You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Johan Adelöw <Jo...@corustechnologies.com> on 2003/10/13 11:10:45 UTC
String[] as parameter in execute for XmlRpcClient seams to fail
> Hi
>
> I´ve tried to use XML-RPC to launch a remote method like this:
>
> ...
>
> params.add(className);
> params.add(methodName);
> params.add(args);
> client.execute(handler.getName() + ".invoke", params);
>
> where args is a String[] with the test values {"",""}.
>
> When I debug my handler that is used by the server the params vector has
> the two Strings as its elements, not the String[] as I expected.
>
> Have I misunderstood the concept here or can anyone tell me what the
> problem is?
>
> /Johan
>
Re: String[] as parameter in execute for XmlRpcClient seams to fail
Posted by Marek <ma...@tlen.pl>.
On 10/13/2003 11:10 AM, Johan Adelöw wrote:
>> ... where args is a String[] with the test values {"",""}....
I suppose, you should use java.util.Vector to represent array...
cheers,
Marek