ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han, Zhi (Zhi)" <>
Subject RE: Illegal argument
Date Thu, 22 Jun 2006 07:13:21 GMT

On client side, structure is

Hashtable h = new Hashtable();
h.put("user", "user");
h.put("pass", "pass")
Vector v = new Vector()

Vector params = new Vector()

Client.execute("", params)

On server side, method

public Vector abc(Vector arg)
Hashtable data = (Hashtable)arg.firstElement()
Vector result = new Vector();

//add some data to result

return result;

-----Original Message-----
From: Jochen Wiedmann []
Sent: Thursday, June 22, 2006 3:03 PM
Subject: Re: Illegal argument

On 6/22/06, Han, Zhi (Zhi) <> wrote:

> Vector args = new Vector();
> args.add(new Vector());
> client.execute("", args);

That means, you are sending an empty list, or array as arguments. In
other words, the method being called is like

    public void foo(Vector pArgs)


    public void foo(Object[] pArgs)

Is that the case?

Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message