[ http://issues.apache.org/jira/browse/AXIS-2006?page=all ]
Davanum Srinivas resolved AXIS-2006:
------------------------------------
Resolution: Cannot Reproduce
Please upload complete WSDL.
thanks,
dims
> WSDL2JAVA fail to handel <xs:enumeration
> ----------------------------------------
>
> Key: AXIS-2006
> URL: http://issues.apache.org/jira/browse/AXIS-2006
> Project: Axis
> Type: Bug
> Environment: AXIS1.2
> Reporter: Quansheng Jia
>
> When a XML schema have simple type with <xs:enumeration, (see below example)
> run WSDL2Java will hit Exception. As a tempeary solution, the bug can be
> removed by force below API return null at any case.
> org.apache.axis.wsdl.toJava.Utils.getEnumerationBaseAndValues(Node node,
> SymbolTable symbolTable)
> <xs:simpleType name="DocumentType1Code">
> <xs:restriction base="xs:string">
> <xs:enumeration value="MSIN"/>
> <xs:enumeration value="CNFA"/>
> <xs:enumeration value="DNFA"/>
> <xs:enumeration value="CINV"/>
> <xs:enumeration value="CREN"/>
> <xs:enumeration value="DEBN"/>
> <xs:enumeration value="HIRI"/>
> <xs:enumeration value="SBIN"/>
> <xs:enumeration value="RADM"/>
> <xs:enumeration value="RPIN"/>
> <xs:enumeration value="CMCN"/>
> <xs:enumeration value="FXDR"/>
> <xs:enumeration value="SOAC"/>
> </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