Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis 1.4 wsdl2java target namespace class generation issue  RSS feed

John Farrel
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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\
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?


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!