axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Kwok (JIRA)" <>
Subject [jira] Created: (AXIS-2606) WSDL2Java DuplicateFileException for a very simple WSDL and XSD files
Date Mon, 08 Jan 2007 10:21:27 GMT
WSDL2Java DuplicateFileException for a very simple WSDL and XSD files

                 Key: AXIS-2606
             Project: Apache Axis
          Issue Type: Bug
    Affects Versions: current (nightly), 1.3, 1.4
         Environment: Tested in Sun JDK 1.4.x, 1.5.x
            Reporter: Gary Kwok

The WSDL is perfectly generate and compile through AXIS 1.2.x. WSDL2JAVA
However, when I try it at AXIS 1.3 or above, always got the following error:

Schema to simulate the bugs:

Parsing XML file:  D:/SUNDAY_EAI_Demo/schema_prove/my_wsdl.wsdl
Generating src\schema\my\
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: src\schema\my\IdentifierCT.
Hint: you may have mapped two namespaces with elements of the same name to the same package
        at org.apache.axis.wsdl.toJava.JavaWriter.generate(
        at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(
        at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.ja
        at org.apache.axis.wsdl.gen.Parser.generateTypes(
        at org.apache.axis.wsdl.gen.Parser.generate(
        at org.apache.axis.wsdl.gen.Parser.access$000(
        at org.apache.axis.wsdl.gen.Parser$

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