Hi Dimithu,
i put this in my axis2.xml :
<signaturePropFile>C:\Tomcat5.5\webapps\axis2\WEB-INF\client.properties</signaturePropFile>
and i got this at my browser:
EXCEPTION: org.apache.axis2.AxisFault: CryptoFactory: Cannot load properties:
C:\Tomcat5.5\webapps\axis2\WEB-INF\client.properties ABCasdas01
thats very strange because i never had this error before when using the policy
files, and i always kept them in the WEB-INF directory.
Any suggestions? or does anyone have any examples with a JSP client and JAVA
webservice using rampart signature encryption? urgent help needed!
thanks!> Subject: Re: JSP with Rampart * Update attachement **> From: [EMAIL
PROTECTED]> To: [email protected]> CC: [EMAIL PROTECTED]> Date: Fri, 12
Oct 2007 15:20:41 +0530> > Hi,> > The error "client.properties can not be
found" comes because program> cannot find client.properties file. You can try
to debug the problem by> giving the full path in your axis2.xml file in the
following parameter.> <signaturePropFile>client.properties</signaturePropFile>>
> Try adding the file to WEB-INF/classes folder.> > > Thank you,> Dimuthu.> > >
On Thu, 2007-10-11 at 21:11 +0000, shams jawaid wrote:> > > > Hi, sorry about
the 3rd email, but the attachements dont seem to be> > going through the
mailing list. Hopefully this will send :)> > > >
______________________________________________________________> > From: [EMAIL
PROTECTED]> > To: [email protected]> > Subject: RE: JSP client and JAVA
web service with Rampart *> > Update attachement> > Date: Thu, 11 Oct 2007
20:57:19 +0000> > > > Here is the attached folder that contains all the
service> > files, > > > > thanks!> > > > > > > >
______________________________________________________> > From: [EMAIL
PROTECTED]> > To: [email protected]> > Subject: JSP client and JAVA web
service with Rampart> > Date: 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 > > > > > >
______________________________________________________________> > The next
generation of MSN Hotmail has arrived - Windows Live> > Hotmail > > > > > >
______________________________________________________________________> > Get
free emoticon packs and customisation from Windows Live. Pimp My> > Live!>
_________________________________________________________________
Get free emoticon packs and customisation from Windows Live.
http://www.pimpmylive.co.uk