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.