thx, Kai, but i used the same syntax as u.
right now, i doubt whether it is an xml parser problem.

----- Original Message -----
From: "Kai Unewisse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 11:44 AM
Subject: AW: Parameter Problem


> I always use an Object Array and then you can cast it to whatever you
want.
>
> Object obj = call.invoke(new Object[] { "string1", "string2" });
>
> Hope this helps.
> Kai
>
>
>
> Hi all,
>
> When I called a service, if there is only one parameter (String), it
works;
> but If there are two parameters (String, String), it throws
>
> Error invoking operation:
>
> java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl
>
> at org.apache.axis.client.Call.invoke(Call.java:1636)
>
> It seemed the invoke() failed before it reached the server.
> I'm so confused 'cause I called the service sucessfully two days ago.
> Anybody has a clue of this?
>
> Thx a lot.

Reply via email to