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.
-- 
View this message in context: 
http://www.nabble.com/WSDL2Java-does-not-generate-the-setter-method-of-a-List-of-objects-tp15872563p15872563.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to