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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/04/23 04:16:38 UTC
[jira] Resolved: (AXIS-1755) Extending an enumeration causes NPE in WSDL2Java
[ http://issues.apache.org/jira/browse/AXIS-1755?page=all ]
Davanum Srinivas resolved AXIS-1755:
------------------------------------
Resolution: Cannot Reproduce
Can you please upload a complete wsdl? then i will reopen the bug.
thanks,
dims
> Extending an enumeration causes NPE in WSDL2Java
> ------------------------------------------------
>
> Key: AXIS-1755
> URL: http://issues.apache.org/jira/browse/AXIS-1755
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Versions: 1.2RC2
> Environment: Windows XP
> IBM JDK 1.3.1
> Axis 1.2.RC2
> Reporter: Benny Kristensen
>
> When you 'extend' a enumeration type in xsd, WSDL2Java crashes with a NullPointerException (or in some cases with a DuplicateFileException)
> example:
>
> ...........
> <xs:simpleType name="State">
> <xs:restriction base="xs:string">
> <xs:enumeration value="dead"/>
> <xs:enumeration value="alive"/>
> <xs:enumeration value="sick"/>
> </xs:restriction>
> </xs:simpleType>
> <xs:simpleType name="SubState">
> <xs:restriction base="State">
> <xs:enumeration value="sick"/>
> <xs:enumeration value="dead"/>
> </xs:restriction>
> </xs:simpleType>
> .....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira