Hi Nandana,
Thanks for your immediate reply. I downloaded the rampart1.4 RC1 & followed
the following steps
1. Copied the rampart jar files into my axis2-1.4/lib directory
2. Copied the .mar files to axis2-1.4/repository/modules directory
3. Added the following lines to my axis2.xml file
<module ref="rampart"/>
<parameter name="OutflowSecurity">
<action>
<items>UsernameToken Timestamp</items>
<user>MIG</user>
<passwordCallbackClass>com.hp.dsl.learning.service.PWCallback</passwordCallbackClass>
<password>MIG</password>
<passwordType>passwordText</passwordType>
</action>
</parameter>
4. I am building and running the my test program in eclipse. Hence I added
the rampart jar files
in to the buildpath
There are no compilation errors but when I run the program , I get the same
error
"org.apache.axis2.AxisFault: The system is attempting to engage a module
that is not available: rampart"
So what could be the problem? Am I missing something?
Thanks & Regards
Hari P
On 5/8/08, Nandana Mihindukulasooriya <[EMAIL PROTECTED]> wrote:
>
> Hi Hari,
>
> > Not knowing what else needs to be done?. I tried using rampart with 1.4
> > It didn't work. Does Rampart
> > supported with axis2 1.4?
> >
>
> Yes, you can download Rampart 1.4 RC2 here [1]. Configuration should be
> like this.
>
> <module ref="rampart" />
>
> <parameter name="OutflowSecurity">
> <action>
> <items>UsernameToken Timestamp</items>
> <user>bob</user>
>
> <passwordCallbackClass>org.apache.rampart.samples.sample02.PWCBHandler</passwordCallbackClass>
> </action>
> </parameter>
>
> you can find the complete axis2.xml here [2]. You can go through the
> samples come with Rampart distribution to get a better understanding.
>
>
> [1] - http://people.apache.org/~nandana/rampart-1.4/RC2/dist/
> [2] -
> http://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/basic/sample02/client.axis2.xml
>
>
> thanks,
> nandana
>
>