Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 840
Mariola Avatar asked Jun 15 '13 00:06

Mariola


2 Answers

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

like image 161
Marcin Szymczak Avatar answered Nov 08 '22 21:11

Marcin Szymczak


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

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

like image 27
Vikas Avatar answered Nov 08 '22 21:11

Vikas