You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by shams jawaid <sh...@hotmail.com> on 2007/10/11 22:57:19 UTC
RE: JSP client and JAVA web service with Rampart * Update
attachement
Here is the attached folder that contains all the service files,
thanks!
From: shams4d@hotmail.comTo: rampart-dev@ws.apache.orgSubject: JSP client and JAVA web service with RampartDate: Thu, 11 Oct 2007 20:07:17 +0000
Hi there, i am trying to implement the rampart basic sample 07 with encryption and signature. I converted the client file from the sample to a JSP client, and deployed the SimpleService web service(which just does an echo) in axis2. I have put the properties file and keys (the ones that come with rampart 1.3) in the directory: C:\Tomcat6\webapps\axis2\WEB-INF and i have also compiled the PWCBhandler class and put it inside the service folder. Next, in my axis2.xml file, i added: <axisconfig name='AxisJava2.0'><module ref='rampart' /> <parameter name='OutflowSecurity'> <action> <items>Timestamp Encrypt Signature</items> <user>client</user> <passwordCallbackClass>seven.PWCBHandler</passwordCallbackClass> <signaturePropFile>client.properties</signaturePropFile> <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier> <encryptionKeyIdentifier>SKIKeyIdentifier</encryptionKeyIdentifier> <encryptionUser>service</encryptionUser> </action> </parameter> <parameter name='InflowSecurity'> <action> <items>Timestamp Encrypt Signature</items> <passwordCallbackClass>seven.PWCBHandler</passwordCallbackClass> <signaturePropFile>client.properties</signaturePropFile> </action> </parameter> and put this under global modules in the axis2.xml file: <module ref='rampart' />However, i get the error as attached, (print screen) the fault string says the client.properties can not be found, but i have put that in ther service folder. Have i put the properties file/keys file in the wrong place ? As an addition, when i try to implement this sample i get random web services deployed in axis2 such as anonWebService07, again i have attached a print screen to this. If anyone can provide any suggestions or any working samples of a JSP client and a simple rampart java web service that would be great. (an example deployed in axis2).
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
_________________________________________________________________
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk