Tried this, but it does not work. Maybe I'm setting wrong the classpath. On my Windows XP it only contains the current directory (.), but I'm thinking that the axis application should include WEB-INF/classes in it's classpath.
I'm getting the same fault. Maybe you can help me with an example.
Emanuel
On 2/8/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
In the WSS4J project, the crypto.properties files are in the "src" folder. I think that's the first place the code looks, but I'm surprised its not looking in the classpath as well.
I'm very new to WSS4J, but that has worked for me.
- David
Emanuel Haisiuc <[EMAIL PROTECTED]> 02/08/2006 08:33 AM
To[email protected] cc SubjectNewbie question
I'm sorry for the stupidity of the question, but I'm in deep problem,---------------------------------------------------------------------
so here is the question:
I'm trying to create a web service which has to verify the signed soap
messages received.
The deplyment file that I've made is:
<deployment xmlns="http://xml.apache.org/axis/wsdd/ "
xmlns:java=" http://xml.apache.org/axis/wsdd/providers/java">
<service name="WSX509Signing" provider="java:RPC">
<requestFlow>
<handler type="java: org.apache.ws.axis.security.WSDoAllReceiver">
<parameter name="passwordCallbackClass" value="wsx509signing.PWCallback" />
<parameter name="action" value="Signature" />
<parameter namr="signaturePropFile" value=" x509sign.props" />
</handler>
</requestFlow>
<parameter name="className" value=" wsx509signing.WSX509Signing"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>
and x509sign.props is:
org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=foobar
org.apache.ws.security.crypto.merlin.file=c:/privateks/privkeystore
I've placed this file along with the web services classes in
tomcat/webapps/axis/WEB-INF/classes but when I try to consume the web
service, it throws a Fault: WSHandler: Signature: no crypto property
file; nested exception is:
org.apache.ws.security.WSSecurityException: WSHandler: Signature: no
crypto property file.
Can you please tell me where to place the crypto property file?
Thank you!
Best regards,
Emanuel Haisiuc
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
