我是使用String进行SOAP Web服务开发的新手。
我遵循以下过程使用Spring创建Soap Web服务https://spring.io/guides/gs/producing-web-service/
错误消息:2020-04-27 20:53:31.979警告4860 --- [nio-8080-exec-4] o.s.ws.server.EndpointNotFound:找不到[SaajSoapMessage]的终结点映射> {http://opnt.com.si/opnt/OnGSSNorBodGateway/}可行性检查]
端点类:
@ Endpoint公共类NltProcessEndpoint {
private static final String NAMESPACE1 = "http://opnt.com.si/opnt/OnGSSNorBodGateway"; @Autowired private NltService service; @PayloadRoot(namespace = NAMESPACE1, localPart = "FeasibilityCheck") @ResponsePayload public FeasibilityCheckResponse getResponseMessage(@RequestPayload FeasibilityCheckRequest request) { FeasibilityCheckResponse feasibilityResponse = new FeasibilityCheckResponse(); feasibilityResponse = service.checkFeasibility(request); return feasibilityResponse; }
}
如果需要,我可以共享我的代码。
我是使用String进行SOAP Web服务开发的新手。我遵循以下过程使用Spring https://spring.io/guides/gs/production-web-service/创建Soap Web服务错误消息:...
由于错误而导致XSD的命名空间和终结点类不匹配。