Hi all,

I have a problem with rampart 1.3 on axis2 1.3 on Tomcat 6.0.

I have this exception when i try to launch my client :

Caused by: org.apache.axis2.AxisFault: Must Understand check failed for header http://www.w3.org/2005/08/addressing

and another now :
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed


Currently I have added this line in my services.xml (server side):

<module ref="addressing" />
      <module ref="rampart" />
      <parameter name="InflowSecurity">
        <action>
          <items>Encrypt</items>
<passwordCallbackClass>mypackage.PWCBHandler</passwordCallbackClass>
          <decryptionPropFile>service.properties</decryptionPropFile>
        </action>
      </parameter>
      <parameter name="OutflowSecurity">
        <action>
          <items>Encrypt</items>
          <encryptionUser>client</encryptionUser>
          <encryptionPropFile>service.properties</encryptionPropFile>
        </action>
      </parameter>

And in client_axis2.xml :

<module ref="addressing" />
<module ref="rampart"/>
  <parameter name="OutflowSecurity">
    <action>
      <items>Encrypt</items>
      <encryptionUser>service</encryptionUser>
      <encryptionPropFile>client.properties</encryptionPropFile>
    </action>
  </parameter>
  <parameter name="InflowSecurity">
    <action>
      <items>Encrypt</items>
      <passwordCallbackClass>mypackage.PWCBHandler</passwordCallbackClass>
      <decryptionPropFile>client.properties</decryptionPropFile>
    </action>
  </parameter>

In my aar jar I added service.jks and service.properties


How can I resolved this problem please ?

I had tried with a Timestamp and it's works !

Thank you

Reply via email to