Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 1.4 wsdl2java target namespace class generation issue

John Farrel
Ranch Hand
Posts: 91
  • 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?


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic