Wsgen class not found

I have few problems with wsgen, every time I use it, I get a "class not found" error. I want to use it for the StudentServiceEndpoint class in the webservices directory. Any ideas how to do this?

Here is my 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.

+4
source share
2 answers

Go to target / class in terminal and run

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

Summary of flags used:

-verbose - show additional information

-keep - do not delete generated files

-cp . -classpatch is in current location

+7
source

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

and run wsgen -verbose -keep -cp. The name of the class is v.com.Impl.

+1
source

Source: https://habr.com/ru/post/1486336/


All Articles