CXF 的 UnsupportedOperationException:This parser does not support specification null "version" null.

本文描述了在使用JAXP时遇到UnsupportedOperationException的问题,并详细记录了解决过程。问题的根源在于向SOAP头中插入自定义版本元素。最终通过升级到XercesImpl-2.9.1.jar解决了此问题。
I came across a JAXP implementation problem where I got UnsupportedOperationException:This parser does not support specification null "version" null. This took a while to nail down because we were inserting our own application "version" element into the SOAP header. I was under the assumption that our problem had to do with an improper namespace. Eventually, the fix was to upgrade to xercesImpl-2.9.1.jar and the UnsupportedOperationException disappeared.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值