Greg Kempe wrote:
If I remove the sequence and Text0, the choice element is created as
expected.
To clarify, the xsd portion below seems to cause WsGen to use a bare
parameter style instead of wrapped, and the choice element is treated
correctly.
So a suitable work-around for this problem would be to force bare param
styles. Unfortunately that doesn't seem to be an option either :) --
see http://jira.codehaus.org/browse/XFIRE-896.
<xsd:element name="echo">
<xsd:complexType>
<xsd:choice>
<xsd:element name="Text1" type="xsd:string"/>
<xsd:element name="Text2" type="xsd:string"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
Greg
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email