axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1755) Extending an enumeration causes NPE in WSDL2Java
Date Sat, 23 Apr 2005 02:16:38 GMT
     [ 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


Mime
View raw message