Forum Discussion

vraj0123's avatar
14 years ago

SoapUI schema interpretation bug when xsd used xsd:choice

In SoapUI form view was unable to handle the below valid xml schema fragment. Instead of giving choice between structured name and a fullname soapUI gives me five mutually exclusive pieces. It seems to me, soapui misinterpretes the choice.

<xsd:complexType name="PersonNameType">
<xsd:choice>
<xsd:sequence>
<xsd:element ref="atrf:PersonGivenName"/>
<xsd:element ref="atrf:PersonMiddleName" minOccurs="0"/>
<xsd:element ref="atrf:PersonSurName"/>
<xsd:element ref="atrf:PersonNameSuffixText" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element ref="atrf:PersonFullName"/>
</xsd:sequence>
</xsd:choice>
</xsd:complexType>
No RepliesBe the first to reply