[ 
https://issues.apache.org/jira/browse/AXIS-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Chisarick updated AXIS-1755:
--------------------------------

    Attachment: DummyII.wsdl

> Extending an enumeration causes NPE in WSDL2Java
> ------------------------------------------------
>
>                 Key: AXIS-1755
>                 URL: https://issues.apache.org/jira/browse/AXIS-1755
>             Project: Apache Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.2RC2
>         Environment: Windows XP
> IBM JDK 1.3.1
> Axis 1.2.RC2
>            Reporter: Benny Kristensen
>         Attachments: DummyII.wsdl
>
>
> 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: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to