Re: WSDL2Java does not generate the setter method of a List of objects

2008-03-06 Thread jim ma
Hi , what is your wsdl ? Cheers Jim Ma On 3/6/08, Landslide [EMAIL PROTECTED] wrote: If I have a class of Contact which has an instance variable of ListAddress addresses = new ArrayListAddress(); on my server side implementation, using the tool of WSDL2Java generates the getter method:

RE: WSDL2Java does not generate the setter method of a List of objects

2008-03-06 Thread Daniel Lipofsky
Same for me. There is also a comment in the generated file that makes it clear this is deliberate, although I don't know why this decisison was made. You can always do foo.getAddresses().clear() foo.getAddresses().addAll(someOtherList); - Dan -Original Message- From: Landslide

Re: WSDL2Java does not generate the setter method of a List of objects

2008-03-06 Thread Daniel Kulp
This is per JAXB spec. The JAXB spec specifically says it should be that way. Dan On Thursday 06 March 2008, Landslide wrote: If I have a class of Contact which has an instance variable of ListAddress addresses = new ArrayListAddress(); on my server side implementation, using the tool of