我有一个带有接口和实现类的web服务。我将他的应用程序导出为战争并部署到tomcat。如何以及何时为服务生成wsdl文件???
Inreface: @WebService(name =" StoreSurveyAuth") 公共接口SurveyAuthorization {
@WebMethod
@WebResult(name="AuthorizationResponse")
public AuthorizationResponse getAuthorizationDetails(SurveyAuthRequest surveyAuthRequest);
Impl Class:
@WebService(serviceName =" AuthService",endpointInterface =" com.test.SurveyAuthorization") 公共类SurveyAuthorizationImpl实现SurveyAuthorization {
}
我还在web.xml中提供了url,端点在sun-jaxws.xml中定义。 但是当我在tomcat中进行deplot时,不会生成wsdl。