axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Kwok (JIRA)" <axis-...@ws.apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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: http://221.124.37.104/axis_schema_bug_prove.zip

Parsing XML file:  D:/SUNDAY_EAI_Demo/schema_prove/my_wsdl.wsdl
Generating src\schema\my\IdentifierCT.java
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: src\schema\my\IdentifierCT.
java.
Hint: you may have mapped two namespaces with elements of the same name to the same package
name.
        at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:110)
        at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1406)
        at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.ja
va:421)
        at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
        at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
        at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
        at java.lang.Thread.run(Thread.java:534)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message