axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepu Janardhanan (JIRA)" <>
Subject [jira] [Created] (RAMPART-333) Must Understand check failed for header : Security
Date Wed, 01 Jun 2011 07:11:47 GMT
Must Understand check failed for header
: Security

                 Key: RAMPART-333
             Project: Rampart
          Issue Type: Question
          Components: rampart-core
    Affects Versions: 1.5.1
         Environment: Windows Xp
            Reporter: Deepu Janardhanan
            Priority: Blocker

On receiving the fault response with security header, axis2(version 1.5.1)  is showing the
error "Must Understand check failed for header
: Security"
I have added SecurityInHandler in the <InFaultFlow> tag in module.xml in the rampart.mar
file (rampart version is 1.5.1)
The <InFaultFlow> tag in the module.xml will looks like this
        <handler name="PolicyBasedSecurityInHandler" class="org.apache.rampart.handler.RampartReceiver">
            <order phase="Security" phaseFirst="true"/>
        <handler name="SecurityInHandler" class="org.apache.rampart.handler.WSDoAllReceiver">
            <order phase="Security"/>
        <handler name="PostDispatchVerificationHandler" class="org.apache.rampart.handler.PostDispatchVerificationHandler">
            <order phase="Dispatch" phaseLast="true"/>

But still this error in security is coming.

On checking the file in rampart-src-1.5.1\modules\rampart-core\src\main\java\org\apache\rampart\handler
It is found that in the method processBasic(...){
// Do not process faults
        SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(doc
        if (WSSecurityUtil.findElement(doc.getDocumentElement(), "Fault",
                soapConstants.getEnvelopeURI()) != null) {


It is not processing if fault is seen.
Is this a bug?
If no, how do i read the fault response with security header?

Please tell how to resolve this issue.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message