Noona
Noona

Reputation: 643

using wsgen utility for generating webservice client classes

I have a web service implemented in this folder in this package hierarchy in eclipse: src\hw2\agency\server to generate the client classes using WSGEN utility, I entered the following command in cmd:

C:\Users\NOONA\workspace\HW2>wsgen -d . -keep -wsdl -classpath . hw2.agency.server.AgencyServiceServerImpl

but I get the following error: Class not found: "hw2.agency.server.AgencyServiceServerImpl" so I was wondering, what should I do to make it find the class?

thanks

Upvotes: 2

Views: 2318

Answers (1)

Noona
Noona

Reputation: 643

I had to change the current directory to

C:\Users\NOONA\workspace\HW2\**bin**>

Upvotes: 1

Related Questions