Hi,What about declaring a dummy type for your VALUE element, that dummy type being a choice between three types, each one corresponding to one of your cases ?
<complextype name="dummy"> <sequence> <choice> <element name="VALUE" type="string"/> <element name="VALUE" type="tns:typeCase2"/> <element name="VALUE" type="tns:typeCase3"/> </choice> </sequence></complextype>
Other point, I think a ComplexType can represent an element that can look like a SimpleType, that is for example :
<complextype name="toto"> <sequence> <element name="VALUE" type="String"/> </sequence></complexType>
Good luck with your work,Kevin.