Hi, Iam using jws approach of Apache axis to test my application.Is it possible to get the output in the form of ArrayList from a WS??If so,how?
for a String output,we use the following : call.setReturnType(XMLType.XSD_STRING);
similarly for ArrayList or Vector ..whats the code.
can anybody help me out?
Thanks in advance! Kartik
posted 12 years ago
You could write a custom serializer and a custom deserializer for ArrayList, but it would probably be easier (and safer in terms of portability) to change your code to use an array instead of ArrayList (e.g. "User" instead of an ArrayList full of User objects).