Hi,
 
i am trying to implement the encryption example 05  in a webservice deployed in axis2. i am using rampart v 1.2. i have installed rampart and i can see it as the available modules in the axis2 admin page. however, whenever i initialise my web service client, i get an error:
 
WSDoAllReceiver: Incoming message does not contain required Security header
 
in my apache-tomcat-5.5.23\webapps\axis2\WEB-INF\conf - axis2.xml file i have put this in:
 

<phase name="Security">

<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>axis2.adb.sync.rampart.callbackhandler.PWCBHandler</passwordCallbackClass>

<decryptionPropFile>client.properties</decryptionPropFile>

</action>

</parameter>

</phase>

and this is in my services.xml file:

<parameter name="InflowSecurity">

<action>

<items>Encrypt</items>

<passwordCallbackClass>test.PWCBHandler</passwordCallbackClass>

<decryptionPropFile>service.properties</decryptionPropFile>

</action>

</parameter>

<parameter name="OutflowSecurity">

<action>

<items>Encrypt</items>

<encryptionUser>client</encryptionUser>

<encryptionPropFile>service.properties</encryptionPropFile>

</action>

</parameter>

<parameter name="ServiceClass">

test.Random

</parameter>

</service>

if anyone can help solve the "WSDoAllReceiver: Incoming message does not contain required Security header" error it would be greatly appreciated,

thanks



Get Pimped! FREE emoticons and customisation from Windows Live - Pimp My Live! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to