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/14 12:54:13 UTC

DO NOT REPLY [Bug 17994] New: - wsdl2java generates code with reserved words as variable names

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=17994>.
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=17994

wsdl2java generates code with reserved words as variable names

           Summary: wsdl2java generates code with reserved words as variable
                    names
           Product: Axis
           Version: 1.1rc2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: tommi.komulainen@iki.fi


wsdl2java generates uncompilable code from the following element.

<element minOccurs="0" name="Abstract" type="string"/>

Namely, the generated code is like

    private java.lang.String abstract;

which is syntactically wrong, along with all the uses of this.abstract and such.
 All reserved words should be transformed to something safe.