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 bu...@apache.org on 2003/03/03 16:19:36 UTC
DO NOT REPLY [Bug 17598] New: -
WSDL2Java generates wrong code for normalizedString
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";
...