首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

记录一个错误

2012-10-30 
记录一个异常org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-o

记录一个异常

org.apache.axis2.AxisFault: Must Understand check failed for header
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security?

I searched Rampart sources to see where SecurityInHandler is.

It was in META-INF/module.xml of rampart-1.5.1.mar, but only in <InFlow> section.

I copied it to <InFaultFlow> and it works! Now my <InFaultFlow> section looks like:

<InFaultFlow>?? ? <handler name="PolicyBasedSecurityInHandler" class="org.apache.rampart.handler.RampartReceiver">?? ? ? ? <order phase="Security" phaseFirst="true"/>?? ? </handler>?? ? <handler name="SecurityInHandler" class="org.apache.rampart.handler.WSDoAllReceiver">?? ? ? ? <order phase="Security"/>?? ? </handler>?? ? <handler name="PostDispatchVerificationHandler" class="org.apache.rampart.handler.PostDispatchVerificationHandler">?? ? ? ? <order phase="Dispatch" phaseLast="true"/>?? ? </handler>?</InFaultFlow> ?

热点排行