axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Midon <>
Subject Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4
Date Wed, 11 Feb 2009 01:50:14 GMT
Hi everyone,

based on this article:, I wrote my own (simple)
wsdl with a policy attached to the soap binding.
I load that wsdl with a WSDL11ToAxisServiceBuilder [1]. My issue is that
when I invoke the service the following AxisFault is thrown:

org.apache.axis2.AxisFault: Must Understand check failed for header
    at org.apache.axis2.engine.AxisEngine.receive(

After a debugging session, it appears that the policy map of the AxisService
holds a policy reference, but the policy include and subject do not. And the
policy is never accessed by the RampartReceiver.

Could you tell what I'm missing and/or point me to a working sample of
embedded policy (I did not find any in Rampart repo)?

Thanks in advance,



View raw message