[ http://issues.apache.org/jira/browse/AXIS2-1022?page=all ]
Davanum Srinivas resolved AXIS2-1022. ------------------------------------- Resolution: Fixed fixed in latest svn. thx. -- dims > WSDL2Java code generation should always use FQCN > ------------------------------------------------ > > Key: AXIS2-1022 > URL: http://issues.apache.org/jira/browse/AXIS2-1022 > 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 Object.java. 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] http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd > - Fabian -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]