CXF javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing
来源:互联网 发布:c语言学生成绩管理删除 编辑:程序博客网 时间:2024/05/26 05:51
1. Problem Description
After I deployed my CXF web service to testing environment server, when I call one of web service interfaces from client, got this error:
javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157)at $Proxy57.getBalance(Unknown Source)
However, when I deployed the same war on my local host, everything goes well.
2. Analysis
I googled a lot and tried different means, checklist items includes:
(1) CXF version. Both 2.7.10, negative.
(2) Consistency between client stub and server interface. I regenerated client stub with latest WSDL still negative.
(3) Removed WS-Security dependencies and configurations, still negative.
(4) Removed aspects(For catching IllegalArgumentException.), still negative.
(5) Removed array type in response object, still negative.
3. Solution
In my case, the root cause is testing environment Tomcat's data source didn't be set properly, hence during the web service processing, there were some unexpected exceptions occurred. Correct the data source configuration is the cure.
- CXF javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing
- CXF javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing
- CXF javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing
- Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
- CXF javax.xml.ws.soap.SOAPFaultException: Unexpected wrapper element
- cxf错误Message javax.xml.ws.soap.SOAPFaultException
- org.apache.cxf.binding.soap.SoapFault: Fault occurred while processing.
- CXF 客户端异常 javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
- javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
- cxf和spring的整合出现的问题:javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
- WebService报错javax.xml.ws.soap.SOAPFaultException: javax.xml.ws.WebFault.messageName()
- WebService报错javax.xml.ws.soap.SOAPFaultException: javax.xml.ws.WebFault.messageName()
- webservcie生成客户端代码报错----javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
- Web Service 客户端报 javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
- webservcie生成客户端代码报错----javax.xml.ws.soap.SOAPFaultException: Cannot create a sec
- webservcie生成客户端代码报错----javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
- javax.xml.ws.soap.SOAPFaultException: A specified parameter was not correct: deviceKey
- 转载:java_min的专栏-webservcie生成客户端代码报错----javax.xml.ws.soap.SOAPFaultException: Cannot create a secure X
- Win7设置FTP详细过程
- android 中chromium_org模块打log的方法
- mtd块设备缓冲操作---mtdblock.c
- hadoop Unable to load native-hadoop library --解决
- windows下实现微秒级延时
- CXF javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing
- 改善代码质量的6种重构模式
- 开源游戏3D引擎之Godot的专用脚本语言
- 书籍总结
- Struts2注解Convention扫描jar中的Action的设置
- 利用Cookie统计UV流量
- Question
- 技术好地方
- linux设备驱动之UART移植