You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Agrawal, Anuj (Anuj)** CTR **" <ag...@lucent.com> on 2002/09/10 17:49:53 UTC

bug when generating java code for xsd:simpleType using WSDL2Java?

In my WSDL, i have simpleTypes defined like:

         <xsd:simpleType name='P_TASK_REFUSED'>
            <xsd:restriction base='xsd:int'>
               <xsd:minInclusive value='14'/>
               <xsd:maxInclusive value='14'/>
            </xsd:restriction>
         </xsd:simpleType>

When the Java class P_TASK_REFUSED.java gets generated, there is no reference to 14 anywhere.

Do i have to modify the WSDL in some way?  Or is there a bug in the code generation?

Help?

Thanks.
Anuj.