Hi guys, I'm fairly new to CXF and I've got a question regarding the WSDL2Java tool:

I was using this WSDL snippet:

       <!-- ChoiceType -->
       <complexType name="ChoiceType">
           <sequence>
                   <element name="choiceId" type="string"/>
                   <element name="choice" type="string"/>
                   <element name="score" type="float"/>
           </sequence>
       </complexType>

       <!-- ChoiceList -->
       <complexType name="ChoiceList">
           <sequence>
<element name="choice" type="type:ChoiceType" minOccurs='0' maxOccurs='unbounded'/>
           </sequence>
       </complexType>

I ran the WSDL2Java tool using the maven plugin and I got both /ChoiceList.class/ and /ChoiceList.java/ with the /getChoice()/ method but the /setChoice(ChoiceType) /was missing.
Any answers to why it was missing and some possible work around?

Thanks,
Ken

Reply via email to