cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <>
Subject wsdl2java + choice (one or both )
Date Tue, 26 Nov 2013 08:05:00 GMT

I'm using Apache CXF 2.7.3

I've having problems to generate JAXB classes from XSD that cointains
this element

       <xs:element name="X" type="xs:string"/>
      <xs:element name="Y" type="xs:string" minOccurs="0"/>
<xs:element name="Y" type="xs:string"/>

The problem is because there is two element called "Y" and I guess the
tools doesn't know how to generate the JAXB class, but I think that it
should generate two String fields no required

Any idea ? Any w/a ?


View raw message