axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan West <>
Subject Axis 2 v1.0 security sample
Date Fri, 12 May 2006 05:43:06 GMT
my Problem is that i get a URL Exception. My first Problem was, that the axis security sample
client cant find his axis2.xml in the repository. So i used -Daxis2.xml... to solve that problem.
But now i get this exception:

0    [main] INFO  org.apache.axis2.deployment.DeploymentEngine  - no services directory found
, new one created
80   [main] INFO  org.apache.axis2.deployment.DeploymentEngine  - Deploying module : addressing-1.0
2133 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  - Deploying module : rampart-1.0
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException
	at org.apache.axis2.engine.Phase.invoke(
	at org.apache.axis2.engine.AxisEngine.invoke(
	at org.apache.axis2.engine.AxisEngine.send(
	at org.apache.axis2.description.OutInAxisOperationClient.send(
	at org.apache.axis2.description.OutInAxisOperationClient.execute(
	at org.apache.axis2.client.ServiceClient.sendReceive(
	at org.apache.axis2.client.ServiceClient.sendReceive(

I followed these instructions:

Please follow each of the following steps:
Note - These instructions assume that the Axis2.war is already deployed in Tomcat

1.) Download the rampart-1.0.mar and addressing-1.0.mar from
2.) To engage the rampart (WSS4J) module add the following line to axis2.xml in axis2/WEB-INF/conf/
	<module ref="rampart"/>
3.) Copy samples/security/SecureService.aar to axis2/WEB-INF/services/ directory
4.) Copy all jars other than the secUtil.jar in the samples/security/lib directory to axis2/WEB-INF/lib/
5.) Copy the downloaded rampart-1.0.mar to Axis2/WEB-INF/modules/ directory
6.) Start Tomcat

Run the sample

And i am using:
-tomcat 5.5
-java 1.4
-axis 2 version 1.0
-security sample: \axis2-std-1.0-bin\samples\security

Best regards
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen!

View raw message