I'm trying to generate java code from a WSDL file using WSDL2Java but I
get the following Error:
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: .
\net\opengis\www\gml\DirectPositionType.java.
Hint: you may have mapped two namespaces with elements of the same name
to the
same package name.
I found the DirectPositionType in a Schema file that the WSDL imports.
My WSDL imports a schema that relies on other schemas. I don't see the
DirectPosistionType defined in more than one schema, but the Schema that
does include it is imported a couple of time, is this why I'm getting
the error, If so, how do I fix it.
Thanks;
Jay Kahler