Axis 1.4 wsdl2java target namespace class generation issue
posted 2 years ago
I have a client library to generate using Axis 1.4 wsdl2java (I can't change the technology used).
The wsdl I need to generate code for has an issue.
It has multiple schemas with different target namespaces but the same named complexTypes.
wsdl2java throws an exception:
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: ../src\com\NBNService\SubOffering.java.
Hint: you may have mapped two namespaces with elements of the same name to the same package name.
Is there a way of configuring wsdl2java to put the different namespaces into different packages?