Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can we generate java classes using wsdl2java cxf command to specific targetNamespace  RSS feed

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hi all,

I have written a service interface like below:

Here addDetails service method takes two arguments : Class and Class

When i am using wsdl2java command of apache-cxf distribution,which generates all classes under com/sample/ws/service directory.

can we change the above directory structure like com/sample/ws/entities/ and com/sample/ws/common/ and remaining classes under com/sample/ws/service directory.

i am using apache-cxf-2.2.9. can we achieve above requirement? Whether i have to change the interface targetNamespace attribute?

Any help appreciated .It's Urgent
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!