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