You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Chris Donges <Ch...@practical.com.au> on 2006/10/06 03:50:22 UTC
you may have mapped two namespaces with elements of the same name to the same package name
I am getting this error when running WDSL2Java. Can anyone help?
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name:
gnaf_as4590_address_pkg\ComplexString.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:
1405)
at
org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:
113)
at
org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGe
neratorFactory.java: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(Unknown Source)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: you may have mapped two namespaces with elements of the same name to the same package name
Posted by Anne Thomas Manes <at...@gmail.com>.
Can you post the WSDL and any included or imported schemas?
My guess is that you have more than one element defined with the same qname.
Anne
On 10/5/06, Chris Donges <Ch...@practical.com.au> wrote:
>
> I am getting this error when running WDSL2Java. Can anyone help?
>
> org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name:
> gnaf_as4590_address_pkg\ComplexString.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:
> 1405)
> at
> org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:
> 113)
> at
> org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGe
> neratorFactory.java: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(Unknown Source)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org