When i am trying to access this method from Client Application it will show error message such as. Error Message : com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text/xml]
You create a separate bean with name ResponseData and in that bean you create this Array list object and while returning set data into this ArrayList and return it. Thats what I am practicing my current Web Services code
Hope this helps, Thanks Vijay Gadde
Coming together is a beginning. Keeping together is progress.. Working together is success........
There is really no reason for any client program to receive an ArrayList.