axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: rampart encryption sample 05 in axis2
Date Mon, 03 Sep 2007 05:04:05 GMT
Can you please ask this question at
http://ws.apache.org/rampart/

On 9/1/07, shams jawaid <shams4d@hotmail.com> wrote:
>
>  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! <http://g.msn.com/8HMAENUK/2731??PS=47575>---------------------------------------------------------------------
To
> unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional
> commands, e-mail: axis-user-help@ws.apache.org




-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message