users@jax-rpc.java.net

support for Schema abstract types

From: Tevoi Andrea <tevoi_at_CAD.IT>
Date: Wed, 07 Aug 2002 18:24:04 +0200

Hi,

I have a WSDL file that imports a Schema. This Schema defines an abstract type without
references any concrete subtypes:
...
<s:complexType name="a" abstract="true"/>
<s:element name="a" type="tns:a"/>
...

A concrete subtype is defined in a different Schema that imports the abstract Schema:
...
<s:complexType name="aExt">
        <s:complexContent>
                <s:extension base="ext:a">
                        <s:sequence>
                                <s:element name="c" type="s:string"/>
                        </s:sequence>
                </s:extension>
        </s:complexContent>
</s:complexType>
<s:element name="aExt" type="tns:aExt" substitutionGroup="ext:a"/>
...

We wonder if xrpcc tool can generate java files for concrete subtype even if the WSDL file has no reference to the concrete Schema but include only the abstract one.
In this case, does the server side tie classes handle dynamically the concrete subtype?

thanks in advance,

Andrea Tevoi