CXF中could not find matching RPC/Literal part问题处理
来源:互联网 发布:未加工数据跑统计模型 编辑:程序博客网 时间:2024/05/16 07:46
Interceptor for {http://这个部分是Webservice的地址部分,省去}ExpertChoiceService#{http://这个部分是Webservice的地址部分,省去}Insert has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Found element {http://这个部分是Webservice的地址部分,省去}InsertReturn but could not find matching RPC/Literal part
at org.apache.cxf.binding.soap.interceptor.RPCInInterceptor.handleMessage(RPCInInterceptor.java:171)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:700)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2261)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2134)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1988)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:487)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
最后经过查看到上边错误堆栈标红的部分,再查看WSDL文件后确定是WebService之间信息交互的编码格式问题,WebService的编码格式有两种Literal、Encoded。其中Encoded是比较古老的编码方式,现在WebServcie标准官方已经不建议使用了。CXF不支持这种编码格式,所以最简便的办法是换其他框架。而我所知道的支持这种编码格式的只有Axis1.x,换成这个版本,问题解决。
- CXF中could not find matching RPC/Literal part问题
- CXF中could not find matching RPC/Literal part问题处理
- 问题处理: Found element arg0 but could not find matching RPC/Literal part
- cxf客户端调用webservice,出现问题 Found element arg0 but could not find matching RPC/Literal part
- .net中创建目录的问题(未找到路径X的一部分|Could not find a part of the path)
- 解决Exception raised during rendering: Could not find layout resource matching value...问题
- RAC 中 ORA-12516: TNS: listener could not find available handler with matching protocol stack
- Could not find jar tool executable 问题处理
- 《黑马程序员》 Could not find jar tool executable 问题处理
- struts中警告: Could not find action or result,问题
- cygwin "could not find /tmp" 问题
- cygwin "could not find /tmp" 问题
- cygwin "could not find /tmp" 问题
- 屏保 问题 could not find the file
- Could not find action or result问题
- 解决[...]Could not find XXXXX.apk问题
- java中 implements Serializable时 报错 could not find class file 处理办法
- ora-12516 tns listener could not find available handler with matching protocol
- SEO编辑与普通编辑
- C#学习总结
- 根Linux用户管理有关的命令
- 数字证书中keytool命令使用说明
- TCP Timestamp选项
- CXF中could not find matching RPC/Literal part问题处理
- 雷锋网独家特约专访爱秦数码创始人张敏
- 如何找到自己的gmail帐号对应的密码
- Sql server中新建指向orcacle的链接服务器
- 下载 针式PKM V9.08 版
- GXT之旅:第四章:Data与Components(2)——Stroes
- PHP中str_replace函数使用数组
- 一些常用的动态SQL
- eclipse个人常用插件更新地址