axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charak, Vikas" <>
Subject RE: [Axis2] Problem engaging Rampart.
Date Mon, 04 Sep 2006 14:07:50 GMT
Yes I do have that and JBoss deploys it also.
I guess I am still trying to understand how deploying this module in Jboss would help my client
. The server will come in to picture only when it will receive the call.
Here is what I am trying to do lets say there is a service some where which requires the caller
to pass User Token. So lets say your client is a jUnit . Now using Axis2 how can you write
a code which can create user token and send the message to a service.
Thanks for being helpful.


From: Ionut Constandache []
Sent: Sun 9/3/2006 8:14 PM
Subject: Re: [Axis2] Problem engaging Rampart.


Make sure that you have rampart-1.0.mar into axis2/WEB-INF/modules/

On 9/3/06, Charak, Vikas < <>
> wrote: 

	Hi ,
	I am writing a simple JUnit client which will create userToken using Rampart and set in SOAP
call. Service  deployed on Jboss and Axis2,  will extract these values and verify the the
	Here is the code snippet from JUnit cleint
	        ConfigurationContext ctx= ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\vikas\\eCams",
	       ServiceClient l_serviceClient = new ServiceClient(ctx, null);
	I am using the file client_axis2.xml , which came with Rucitha Rampart Sample11 (client.axis2.xml).
	I have included all the jar files which came with the samples. 
	I am getting the follwoing error
	org.apache.axis2.AxisFault: Trying to engage a module which is not available : rampart
	at org.apache.axis2.engine.AxisConfiguration.engageModule( 
	at org.apache.axis2.deployment.DeploymentEngine.engageModules(
	at org.apache.axis2.deployment.FileSystemConfigurator.engageGlobalModules(
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext (
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(
	at com.ecams.webservice.callers.TestClientWebService.getServiceClient (
	at com.ecams.webservice.callers.TestClientWebService.testMemberGetItemService(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at junit.framework.TestCase.runTest(
	at junit.framework.TestCase.runBare (
	at junit.framework.TestResult$1.protect(
	at junit.framework.TestResult.runProtected(
	at (
	at junit.framework.TestSuite.runTest(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
	To unsubscribe, e-mail:
	For additional commands, e-mail:

View raw message