java - 警告 "A web service endpoint could not be found"是什么?

标签 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] Compiling 1 source file to /home/sabo/workspace/ekokontrol/build/classes [annotationProcessing] warning: A web service endpoint could not be found

[annotationProcessing] 1 warning

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

警告“找不到 Web 服务端点”是什么意思?

最佳答案

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

关于java - 警告 "A web service endpoint could not be found"是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12221884/

相关文章:

.net - wsdl.exe 错误 : Unable to import binding '...' from namespace '...'

java - 如何在 WSDL 中添加 xsd

java - 尝试启动我的线程

java - 如何根据提供的值删除 CSV 文件中的内容?

Java cucumber : Take @CucumberOptions from external source like a property file

java - JAXB 未检测到元素

java - 我可以在 Java 中根据 XSD 片段验证 XML 文件吗

Java 8 供应商没有双冒号

java - AWS Lambda 和 API 网关以及 SOAP 客户端

java - JAXB 和 List<Something> 的另一个编码异常