[ http://issues.apache.org/jira/browse/AXIS-1816?page=comments#action_59228 ] Klaus Mueller commented on AXIS-1816: -------------------------------------
I tried the version from cvs and it failed with the same error message. The test wsdl is here: http://web.ncbi.nlm.nih.gov/entrez/eutils/soap/efetch.wsdl Thank you. > WSDL2Java fails to create java code > ----------------------------------- > > Key: AXIS-1816 > URL: http://issues.apache.org/jira/browse/AXIS-1816 > Project: Axis > Type: Bug > Components: WSDL processing > Versions: 1.2RC2 > Environment: Windows 2000 > Reporter: Klaus Mueller > > Schema includes two complex type declarations: > <xsd:complexType name="GeneticCodeType">... > and > <xsd:complexType name="Genetic-codeType">... > WSDL2Java tries to create source files with the same name > (GeneticCodeType.java) for the both classes and generates the following error: > org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: > GeneticCodeType.java. > Hint: you may have mapped two namespaces with elements of the same name to > the same package name. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira