Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsimport - seperate endpoint and JAXB java files

 
Prash Negu
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can someone suggest me how to place generated endpoint java files and
JAXB genereated java files in two different folders using wsimport
task? I tried out couple of options but wsimport always places the JAXB
files in "sourcedestdir" specified folder.

How to place them in two different projects/locations?

Thanks,
Prashant
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you tried the -p option in the wsimport command that allows you to specify the target package?
Best wishes!
 
Prash Negu
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivan,

I havent tried -p option. But i thought it is to only change package for JAXB artifacts and not their location. I will try this.

Thanks,
Prashant
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
If you only want to change the JAXB classes, then you may want to consider using a JAXB binding file.
Take a look at this webpage for more information: http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic