On 8/24/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> 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?


Are you using Axis1.x or Axis2? if Axis2 with what databinding?

Ashish
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to