Hi,
I guess you are using alpha3. Try out with a recent nightly build. There
is improved support for arrays and Lists now.
All Lists are now deserialized as Object[]. Even if your sevice method
returns a Vector, on the client side you will receive it as an Object[].
So the client code should look like:
Object response = call.invoke(requestArray);
Vector result = org.apache.axis.utils.JavaUtils.convert(response,
Vector.class);
HTH
Vikram
DEEPTHI PRABHAKAR wrote:
> Hi all, I am new to soap and axis. I am writing simple codes to
> understand the java web services and soap. In my client code, I am
> able to return Strings, string arrays etc...but not Vectors! Does it
> need a separate mapping in the deployment descriptor? Else, if vectors
> are considered as basic data types how do I type cast it in my
> code?Here is a part of the code. Vector result = (Vector)
> call.invoke(new Object[] { arrOrder }) ; out.println("Result :"
> result.get(0)); The error is the ClassCastException:
> java.util.ArrayList I am really bugged trying to solve this problem.
> Hope someone can help me!Thanx!!cheersDeepthi
>
>
> -----------------------------------------------------------------------
> Send and receive Hotmail on your mobile device: Click Here