On Friday, December 09, 2011 3:15:27 PM rouble wrote: > Hi All, > > Is there a way to use jaxb annotations and/or wsdl2java to generate > classes with default initializations? > > Today, CXF's wsdl2java is ignoring an elements default initialization. > So, something like: > <xs:element default="true" name="bar" type="xs:boolean"/> > > Does not get reflected in the class as an initialization value.
See: http://cxf.apache.org/cxf-xjc-dv.html Dan > > I have a thread on SO discussing the topic: > http://stackoverflow.com/questions/8434963/default-initialization-value-for- > jaxb-generated-class > > tia, > rouble -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
