cxf的webservice的Could not send Message个人问题记录

来源:互联网 发布:云杉网络招聘 编辑:程序博客网 时间:2024/06/04 00:47
cxf的webservice的Could not send Message

今日开发了cfx的webservice的三个接口,在使用soapui进行测试的时候,发现前两个
使用正常,能够正常返回数据,但是第三个,点击运行,右侧结果栏一片空白,没有任何
反应。调试证明已经取回了数据,只是没有返回来。


控制台 曾经出现如下提示:
Interceptor has thrown exception, unwinding now Could not send Message.


但是没有下文了,就这么一句话。没有具体的“at ... ”来说明具体在哪出的问题。
在网上搜索了一下这个提示,有这种问题的博客,但是对我不适用。比如这篇:
http://blog.csdn.net/rshw123456/article/details/8001677


它的异常如下:
警告: Interceptor for {http://10.98.100.150/SPSFORMES/}IOSpsForMes#{http://10.98.100.150/SPSFORMES/}SetBomNeed has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:519)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:449)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:352)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:304)
at org.apache.cxf.endpoint.Client
 。。。。。。 

可见,它的异常内容很多。

既然三个接口只有一个不行,说明配置文件什么都没问题。
最简单的办法,重新部署,clean,等等,还不行,最后,重启myeclipse,问题解决。
具体原因我也不知道,可能是软件的问题吧。。。

但是这个问题
Interceptor has thrown exception, unwinding now Could not send Message.
值得注意。
0 1
原创粉丝点击