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/12 17:29:14 UTC

REPOST: bug when generating java code for xsd:simpleType using WS DL2Java?

Anyone have a comment on the following?
Thanks.
Anuj.

>  -----Original Message-----
> From: 	Agrawal, Anuj (Anuj)** CTR **  
> Sent:	Tuesday, September 10, 2002 11:50 AM
> To:	'Axis User Mailing List'
> Subject:	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.