• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Axis 1.4 wsdl2java target namespace class generation issue

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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\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?

thanks,

John.
 
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic