This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class not found when using wsgen

 
RayZ Wilson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am trying to use wsgen and I keep getting the dreaded class not found message. I know the class compiled with the correct annotations is present but my question is this. What should the -classpath attribute for wsgen be pointing at? Just the class I want to convert to web service artifacts or all of the jax-ws support classes or both? Any experience from a successful user of wsgen would be appreciated. I'm cornfusticated!

Thanks
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Right, the annotated endpoint implementation class have to be on the classpath. When I use wsgen, I use the command in the Java SE 6 JDK, see another post in this forum: http://www.coderanch.com/t/477322/Web-Services/java/java-io-IOException-CreateProcess-error#2140144
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic