KwaXi
13 years agoNew Contributor
Problem with complex types in WSDL
Hello,
I've a WSDL with the following types:
The wsdl is generated by Apache CXF (code-first approach). Unfortunately soapUI doesn't generate a valid request for the webmethods which use the a parameter of type mainCheckTable.
I've a WSDL with the following types:
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://service/" elementFormDefault="unqualified" targetNamespace="http://service/" version="1.0">
<xs:element name="entity" type="tns:mainCheckTable"/>
<xs:element name="newMainCheckTableEntity" type="tns:newMainCheckTableEntity"/>
<xs:element name="newMainCheckTableEntityResponse" type="tns:newMainCheckTableEntityResponse"/>
<xs:complexType name="newMainCheckTableEntity">
<xs:sequence>
<xs:element ref="tns:entity"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="mainCheckTable">
<xs:sequence>
<xs:element name="0" type="xs:string"/>
<xs:element name="1" type="xs:string"/>
<xs:element name="2" type="xs:string"/>
<xs:element name="3" type="xs:string"/>
<xs:element name="4" type="xs:string"/>
<xs:element name="5" type="xs:string"/>
<xs:element name="6" type="xs:boolean"/>
<xs:element name="7" type="xs:string"/>
<xs:element name="8" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="newMainCheckTableEntityResponse">
<xs:sequence>
<xs:element name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
The wsdl is generated by Apache CXF (code-first approach). Unfortunately soapUI doesn't generate a valid request for the webmethods which use the a parameter of type mainCheckTable.