You have multiple schemas with a targetNamespace of "http://www.opengis.net/wcs". Make sure that you haven't defined the same element or type more than once.
Also, you must import the "gml" schema into the "wcs" schemas in order to reference elements and types from the "gml" schema. Likewise, you must import the "xlink" schema into the "wcs" and "gml" schemas in order to reference elements and types from the "xlink" schema.
Anne
On 3/13/06, Jason J. Kahler <[EMAIL PROTECTED]> wrote:
It always gives me the same error:
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name:
.\net\opengis\www\gml\DirectPositionType2.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.ja
va:1406)
at
org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.ja
va:113)
at
org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
aGeneratorFactory.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)
Attached is the WSDL
