什么警告“无法找到Web服务端点”?

时间:2012-08-31 20:08:53

标签: java soap jaxb

@WebService(targetNamespace = "http://ekokontrol.lenobl.smev.ru", name="Ekokontrol")
@SOAPBinding(style=SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL)
public interface EkokontrolIF {

    @WebMethod(operationName="inspection", action="urn:inspection")
    @WebResult(name="return")
    public BaseMessageType inspection(
        @WebParam(name="request")BaseMessageType requestBaseMessage);

}
  

[annotationProcessing]将1个源文件编译为   / home / sabo / workspace / ekokontrol / build / classes [annotationProcessing]   警告:找不到Web服务端点

     

[annotationProcessing] 1警告

@WebService(endpointInterface = "ekokontrol.server.EkokontrolIF")
public class EkokontrolImpl {
...
}

警告“无法找到Web服务端点”?

1 个答案:

答案 0 :(得分:1)

@WebService(endpointInterface = "ekokontrol.server.EkokontrolIF")  
public class EkokontrolImpl implements EkokontrolIF {
...
}