Hi Julien,
       Rampart class files are in th jar files under lib directory of
official Rampart binary distribution. So in your case, do you have all the
jars (eg. rampart-core-1.4.jar, rampart-policy-1.4.jar,
rampart-trust-1.4.jar, etc .. ) under ${axis-home}/lib. Those libraries has
to be in your class path. Hope this [1] will help you to find more info.

regards,
nandana

[1] - http://blog.facilelogin.com/2009/11/httprampartfaqcom.html

On Mon, Nov 23, 2009 at 11:38 PM, Julien Sentier <[email protected]>wrote:

> Hi,
>
> I'm trying to create a Web Service which could know who is the person
> connected.
>
> Currently I'm just following this how-to:
> http://www.ibm.com/developerworks/java/library/j-jws4/
>
> I've setup Tomcat apache-tomcat-6.0.20/ with axis2-1.5.1/. I've made my own
> awis2.war with rahas-1.4.mar and rampart-1.4.mar in the repository/modules/
> folder.
>
> Now I'm compiling the examples provided in the how-to but I have the
> following error:
> ....jws04code/client/src/com/sosnoski/ws/library/adb/WebServiceClient.java:29:
> package org.apache.rampart does not exist
>
> It's quite explicit ;)
>
> However by build.properties contains :
> axis-home=/Users/jsentier/WS/zips/axis2-1.5.1
> And my build.xml contains:
>   <path id="axis-classpath">
>     <fileset dir="${axis-home}/lib" includes="**/*.jar"/>
>     <fileset dir="${axis-home}/repository/modules"
> includes="rampart*.mar"/>
>   </path>
>
> /Users/jsentier/WS/zips/axis2-1.5.1/repository/modules/ exists and contains
> the official rampart-1.4.mar. So, what's wrong? Inside the rampart-1.4.mar
> there is no *.class, is that normal?
>
> Regards,
> Julien
>
>
>
>
>

Reply via email to