Hi,

I am trying to run a Sample test to connect to one of our webservices using
axis2 1.4 version generated
client. The wbeservice requires the security headers to be sent. But
whaterver I do, I am getting the following error

org.apache.axis2.AxisFault: The system is attempting to engage a module that
is not available: security

I added the following to the axis2.xml :

<module ref="security"/>
<moduleConfig ref="security">
 <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>
</moduleConfig>

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?

I am trying to create the configContext like this

ConfigurationContext ctx *=* ConfigurationContextFactory*.**
createConfigurationContextFromFileSystem**(*
"C:/Installations/axis2-1.4/repository/"*,* "C:/StarTeam
Projects/KIM-PORTAL/View/ATHP_PORTAL_MIG2/LEARNING/src/axis2.xml"*);*

*Could any on throw some light on this?*

*Thanks In Advance*

*Regards*

*Hari P
*

Reply via email to