Question

I have little problem with wsgen, everytime when I use it, I get error "class not found". I want use it for class StudentServiceEndpoint in directory webservices. Any ideas how should I do it?

Here is picture of my direcory structure: http://img198.imageshack.us/img198/4274/5g8.png

http://img441.imageshack.us/img441/737/eo4.png

PS. sorry for my english ;p

EDIT: I edited the image.

Was it helpful?

Solution

Go to target/classes in terminal and run

wsgen -verbose -keep -cp . pl.edu.pk.webservices.StudentServiceEndpoint   

Summary of used flags:

-verbose - show additional information

-keep - don't remove generated stuff

-cp . -classpatch is in current location

OTHER TIPS

Go to the bin\classes\target directory in command promt

and run wsgen -verbose -keep -cp . v.com.Impl class name.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top