[英]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: 我在eclipse的此包层次结构的此文件夹中的该文件夹中实现了一个Web服务:src \\ hw2 \\ agency \\ server,以使用WSGEN实用程序生成客户端类,我在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? 但是出现以下错误:找不到类:“ hw2.agency.server.AgencyServiceServerImpl”,所以我想知道,我应该怎么做才能使其找到该类?
thanks 谢谢
我必须将当前目录更改为
C:\Users\NOONA\workspace\HW2\**bin**>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.