cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From immobilia <immobi...@hotmail.com>
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"
:
http://cxf.apache.org/docs/defining-contract-first-webservices-with-wsdl-generation-from-java.html

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 ?

Thanks.


-- 
View this message in context: http://cxf.547215.n5.nabble.com/Wsdl2java-how-to-auto-generate-field-array-List-tp3372022p3372022.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message