cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From immobilia <>
Subject Wsdl2java : how to auto-generate field array/List ?
Date Fri, 04 Feb 2011 23:48:14 GMT

I follow "Defining Contract first webservices with wsdl generation from java"

When i generate WSDL to Java, attribute "address[]" (List<String> address)
is in my class.
The getter is generated.
But the setter is missing ...

<xs:element maxOccurs="unbounded" minOccurs="0" name="address"
nillable="true" type="xs:string"/>

Only the setters on maxOccurs="unbounded" are missing.

wsdl2java don't generate attributes[] ? Is a way to generate setters on
array attributes ?


View this message in context:
Sent from the cxf-user mailing list archive at

View raw message