axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Christ (JIRA)" <>
Subject [jira] Updated: (AXIS2-1022) WSDL2Java code generation should always use FQCN
Date Mon, 14 Aug 2006 11:44:16 GMT
     [ ]

Fabian Christ updated AXIS2-1022:

    Attachment: ADBBeanTemplate.xsl.patch

This patch replaces all appearances of Object by java.lang.Object where it wasn´t the case.

> WSDL2Java code generation should always use FQCN
> ------------------------------------------------
>                 Key: AXIS2-1022
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Fabian Christ
>         Attachments: ADBBeanTemplate.xsl.patch
> Hi,
> when you have an XSD used in a WSDL file like this one [1] you get into trouble. The
XSD defines an element called "Object" and the code generation creates a class called
Now you have pieces of code where java.lang.Object was meant but simply Object was written.
In my case the compiler took the wrong Object class and ends in an error. This is also the
case when you define an element like "Exception". 
> You can say that someone shouldn´t reuse names of basic Java classes but Java is not
the world  and the XSD in [1] comes from W3C.
> My suggestion is to use fully qualified class names all over the generated code.
> [1]
> - Fabian

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message