Hello,

Let's say I have a simple public class Student {private List<Course>
courses; /*getter, setter*/}...

I was wondering is there a way I can instruct WSDL2Java to map arrays into
List<T>.

Currently, I have a service operation Student[] getStudents();  WSDL2Java -u
-uw creates a very clean stub.  So that on the client side I can do
something like Student[] students = stub.getStudents().  Nice!

However, things get a bit strange, when I do student.getCourses() I get back
an OMElement.  Is there a way I can instruct WSDL2Java to create the stubs
so that on the client side I can do something like: List<Courses> courses =
student.getCourses();?

Thanks in advance

Reply via email to