我正在尝试使用一个soap代理接口的五个服务,其中只有一个正常工作,而另一个出现服务错误:org.apache.cxf.transport.http.httpexception:http响应“404:not found”在与{serviceendpoint}通信时,我弄不清所有服务是否与soap ui正常工作
cxf客户端代码
JaxWsProxyFactoryBean jaxWsProxyFactory = new JaxWsProxyFactoryBean();
jaxWsProxyFactory.setServiceClass(CardManagerWebService.class);
jaxWsProxyFactory.setAddress(serviceEdnpoint);
return (CardManagerWebService) jaxWsProxyFactory.create();
错误日志
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with {srviceEndpoint}
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1538)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1445)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:660)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 126 common frames omitted
有人知道吗??
暂无答案!
目前还没有任何答案,快来回答吧!