Hi All,
 
I'm trying to access Basic/Sample 7 of Rampart. I'm having exception of 
"org.apache.axis2.AxisFault: WSHandler: cannot load password callback class: 
org.apache.rampart.samples.sample07.PWCBHandler; nested exception is: 
java.lang.ClassNotFoundException: 
org.apache.rampart.samples.sample07.PWCBHandler".
 
I'm using a JSP Client. The attachment have all my files and below is the 
structure where I have put what. 
C:\Tomcat6\webapps\axis2\WEB-INF\classes I put client.jks, service.jks, 
service.properties and client.properties at above address. I also put my 
PWCBHandler class, in its packaged folder. All of these were provided in the 
rampart samples, the keys and pwcbhandler.class - for the class file i just had 
to put the package name for my service and recompile.  anyways next, you need 
the client one.jsp in this directory: C:\Tomcat6\webapps\axis2\axis2-web next, 
just put the package name folder with the META-INF  folder in this directory: 
C:\Tomcat6\webapps\axis2\WEB-INF\services Could any 1 please know or any idea 
why i'm having this exception?
 
 
Regards
 
 


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: (city) RAMPART 
done FINALLY!Date: Fri, 12 Oct 2007 22:57:26 +0000


hello dasun,  oooOoOoOoOooOoOoOoOMg me and nasreen sorted out rampart!(thanks 
to the mailing list as well) yesssssssssssssssssss ! if only php was working 
too that would be the best, lol. Anyways, here is the example for you dasun, a 
JSP client called one.jsp , and all the service files.  although you have to 
have to set it up properly first too. Here is my setup: in this directory: 
C:\Tomcat6\webapps\axis2\WEB-INF\classes what you need is, the client.jks, 
service.jks, service.properties and client.properties. You also need your 
PWCBHandler class, in its packaged folder. All of these were provided in the 
rampart samples, the keys and pwcbhandler.class - for the class file i just had 
to put the package name for my service and recompile.  anyways next, you need 
the client one.jsp in this directory: C:\Tomcat6\webapps\axis2\axis2-web next, 
just put the package name folder with the META-INF  folder in this directory: 
C:\Tomcat6\webapps\axis2\WEB-INF\services i also have the PWCBHandler class in 
the package name fodler there, which i dont think makes much of a difference 
because it stilll works.  anywyas, i have also attached the SOAP messages i 
sent and received :D feels so good, haha take care! 

Are you the Quizmaster? Play BrainBattle with a friend now! 
_________________________________________________________________
Climb to the top of the charts!  Play Star Shuffle:  the word scramble 
challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct

Reply via email to