You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Stefan Gebhardt <St...@abas.de> on 2005/07/08 13:07:36 UTC

wsdl2java doesn't work properly with xsd simpleType

Hello,
i tryed to generate the eBayApi with axis1.2.1Final wsdl2java anttask.
Wsdl2Java didn't generate the classes representing the simpleTypes like....

       <xs:simpleType name="ItemIDType">
                <xs:restriction base="xs:string"/>
        </xs:simpleType>
        <xs:simpleType name="UserIDType">
                <xs:restriction base="xs:string">
                        <xs:length value="127"/>
                </xs:restriction>
        </xs:simpleType>

After deleting the namespace.prefix it worked but the namspace.prefix is properly defined.  xmlns:xs="http://www.w3.org/2001/XMLSchema"
Is this a bug or am i totally wrong?

Best Regards
Stefan