Hi,

I have a similar "problem", so I would also be interested to know more
technical details. Especially about this choice/sequence thing.

I have a WSDL file with the following content:

...

<xsd:complexType name="Scenario" mixed="true">

    <xsd:sequence>

        <xsd:element name="Description" type="xsd:anyURI" minOccurs="0"/>

        <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"
processContents="lax"/>

    </xsd:sequence>

    <xsd:anyAttribute namespace="##other" processContents="lax"/>

</xsd:complexType>

...




And this is what JAX-WS/JAXB/CXF generates:



...

<xsd:complexType mixed="true" name="Scenario">

    <xsd:sequence>

        <xsd:choice maxOccurs="unbounded" minOccurs="0">

            <xsd:element name="Description" type="xsd:string"/>

            <xsd:any namespace="##other" processContents="lax"/>

        <xsd:choice>

    </xsd:sequence>

    <xsd:anyAttribute namespace="##other" processContents="skip"/>

</xsd:complexType>

...

Reply via email to