Community
Participate
Working Groups
Build Identifier: 20100218-1602 It works fine for me if I have any number of functions with a return type of primitive data type. I am using eclipse, I tried tomcat 5,6,7/glassfish and am using Axis. I created a new project right click on my abc.java and select web service I selected to generate both client and server but it complaints about me trying to return object, Arraylist I am trying to do this as through my function I am trying to fetch data through database . I will return data in a resultset form and am not sure how I should return it to be able to make it work. Urgent. ASAP PLEASE Reproducible: Always Steps to Reproduce: 1.A CLass with methor of return type arraylist 2.right click and try to create web service 3. The method "test" on the service class "test.test" uses a data type, "java.util.ArrayList", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
Maybe this is WTP?
This is a JAX-RPC limitation. Try wrapping your collection types. Or, use JAX-WS.