BackGround:
With all the help and documentation available online i have been able to get startedp and make a fair amount of progress with implementing web services in
Java 6. So, far I had been able to have my webmethod return primitive types such as
string etc and even had luck with Vector and ArrayList.
Problem: Unable to figure out how to have the webmethod return more complex data types such as an vector of vectors or arraylist of arraylists or arraylist of a certain custom java class object.
My webservice client is a java
servlet, which after making the call simply forwards the call to a
JSP page after setting the returned complex data type as the HttpSession variable. On the JSP page, i am unable to retreive the complex data type. The errors I see are either that the current context doesnt know about the POJO class that i have written on the server or trouble unmarshalling the complex data type.
Components used: netbeans 6.0, jax-ws, glassfishv2.
Alternatives Known: Axis from apache heard allows for handling complex data types & Java objects.
With the amount of time invested in using Jax-ws, Im looking for help to get complex data types / objects around. All the examples I found are always dealing with simpler types.
Any help in getting me an idea or pointer to understand working with complex data types will be much appreciated!
Thanks