• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

srikanth Thandra
Ranch Hand
Posts: 44
  • 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 :
com.sample.ws.entities.Request Class and com.sample.ws.common.HeaderInfo 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/Request.java and com/sample/ws/common/HeaderInfo.java 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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic