0

Whenever I try to build the wsdl file it won't correctly build the object when its inherited and has a sequence of elements listed. For example...

<xs:complexType name="Triangle">
 <xs:annotation>
    <xs:documentation>blah blah blah </xs:documentation>
 </xs:annotation>
 <xs:complexContent>
      <xs:extension base="Shape">
        <xs:sequence>
          <xs:element ref="angle1"/>
          <xs:element ref="angle2"/>
          <xs:element ref="angle3"/>
        </xs:sequence>
     </xs:extension>
 </xs:complexContent>
</xs:complexType>`

This builds the java Triangle class with the extension base only and none of the 3 elements listed above. However if i remove the extension, the 3 elements populate after building the wsdl file. Its only when I have both the extension tag and element tag that the element stuff doesn't appear. Anyone have insight as to what is going on?

GrizzLee
  • 3
  • 1
  • 1
  • 4
  • Could you add definition of `Shape`,all 3 `Angles`? – Red Boy Aug 08 '18 at 07:26
  • it looks like it has to do something with the mvn build because it builds fine in SoapUI, currently using apache cxf 3.2.4. Just can't figure out why its not working. – GrizzLee Aug 09 '18 at 14:11

0 Answers0