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
> List<Address> addresses = new ArrayList<Address>();
> on my server side implementation, using the tool of WSDL2Java
> generates the getter method:
>     public List<Address> getAddresses() {
>         if (addresses == null) {
>             addresses = new ArrayList<Address>();
>         }
>         return this.addresses;
>     }
>
> but it does not generate the setter method:
>     public void setAddresses(List<Address> addresses) {
>       this.addresses = addresses;
>     }
>
> I am using CXF 2.0.4.



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to