aspose file tools*
The moose likes Web Services and the fly likes Class not found when using wsgen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Class not found when using wsgen" Watch "Class not found when using wsgen" New topic
Author

Class not found when using wsgen

RayZ Wilson
Greenhorn

Joined: Jan 22, 2010
Posts: 3
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


Keep imagining, keep inventing, stay ingenious.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
 
subject: Class not found when using wsgen