Hi
I have an element like below in XSD file
<xs:complexType name="message">
   <xs:choice>
      <xs:element name="FailureMessage" type="xs:string" minOccurs="0"/>
      <xs:element name="SuccessMessage" type="xs:string" minOccurs="0"/>
  </xs:choice>
</xs:complexType>


This means that the XML file can have FailureMessage or SuccessMessage?

When i create java soruce using wsdl2java and then use it to return SOAP
message,
will there be any validation for the xs:choice?


Ashish

Reply via email to