javaweb-servicesspringwsgen

Wsgen class not found


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.


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