axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17598] New: - WSDL2Java generates wrong code for normalizedString
Date Mon, 03 Mar 2003 15:19:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17598>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17598

WSDL2Java generates wrong code for normalizedString

           Summary: WSDL2Java generates wrong code for normalizedString
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: Oliver.Adler@syracom.de


A schema definition as the following:
<xsd:simpleType name="anrede">
		<xsd:restriction base="xsd:normalizedString">
			<xsd:enumeration value="Herr"/>
			<xsd:enumeration value="Frau"/>
			<xsd:enumeration value="Fraeulein"/>
			<xsd:enumeration value="Firma"/>
			<xsd:enumeration value="Eheleute"/>
		</xsd:restriction>
	</xsd:simpleType>

generates the following code which does NOT compile:
...
public static final org.apache.axis.types.NormalizedString _Herr = "Herr";
    public static final org.apache.axis.types.NormalizedString _Frau = "Frau";
    public static final org.apache.axis.types.NormalizedString _Fraeulein 
= "Fraeulein";
...

Mime
View raw message