Hi, You need to have rampart, trust mars and libs at the client end too. Best way is to look at the rampart samples [1]. This is the sample05 client [2] used in a WS-Trust scenario. You can look into this blog post [3] where it is explained how to write a dynamic client.
[1]. http://svn.apache.org/repos/asf/axis/axis2/java/rampart/branches/1_6/modules/rampart-samples/policy/ [2]. http://svn.apache.org/repos/asf/axis/axis2/java/rampart/branches/1_6/modules/rampart-samples/policy/sample05/src/org/apache/rampart/samples/policy/sample05/Client.java [3]. http://blog.thilinamb.com/2009/11/using-axis2-dynamic-client-to-invoke.html Thanks, -Suresh On Mon, Aug 13, 2012 at 12:07 PM, abdelrahman almahmoud < firestorm5...@gmail.com> wrote: > Thank you for the replies > > Simply copying the mar and lib files to the war extract in webapps > caused the problem, however I managed to fix it by building a war file > containing the rampart .mar and lib files, now rampart and rahas > appear in the available modules > > I found the answer in this post if anyone wants more information > http://stackoverflow.com/questions/1717845/ > > Now I assume the server side is configured properly, do I need to do > anything special on the client side with eclipse? > > > On Mon, Aug 13, 2012 at 9:23 AM, Suresh Attanayake > <suresh.attanay...@gmail.com> wrote: > > Hi , > > > > You have to copy all the rampart lib jars to axis2 WEB_INF/lib folder. > > > > Thanks, > > -Suresh > > > > On Sun, Aug 12, 2012 at 3:24 PM, abdelrahman almahmoud > > <firestorm5...@gmail.com> wrote: > >> > >> Hi > >> > >> I am not sure if this is the right place to post these questions, if > >> it isn't then I apologise > >> > >> I am having trouble setting up rampart with eclipse, I read up a lot > >> but I still keep hitting a dead end > >> I have apache tomcat running on localhost as a standalone server, I > >> deployed Axis2 war and it is working and I have a test webservice > >> running on it which is wrote using Eclipse > >> Now I want to add security features to it using rampart, First I added > >> the rampart and rahas mar files into WEB-INF/modules, however when I > >> check the list of available modules it lists them under faulty modules > >> > >> Is there anything specific I need to do on the client side to have > >> rampart running properly? > >> Do I need to import rampart jar files into eclipse build path for the > >> project or the mar files? > >> > >> I appreciate any help > >> > >> thank you > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > >> For additional commands, e-mail: java-dev-h...@axis.apache.org > >> > > > > > > > > -- > > Suresh Attanayake > > > > Blog : http://sureshatt.blogspot.com/ > > LinkedIn : http://www.linkedin.com/pub/suresh-attanayake/16/165/181 > > Twitter : http://twitter.com/sureshatt > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > For additional commands, e-mail: java-dev-h...@axis.apache.org > > -- Suresh Attanayake Blog : http://sureshatt.blogspot.com/ LinkedIn : http://www.linkedin.com/pub/suresh-attanayake/16/165/181 Twitter : http://twitter.com/sureshatt