How to load the crypto properties file [WSS4J related]
Posted on 2011-03-09
Hi, I am writing a WebService client which is signing the SOAP request using WSS4J api. In the WSDD file I have defined SIG_PROP_FILE which points to the crypto.properties which has keystore specific information.
I am loading the WSDD using:
EngineConfiguration config = new FileProvider("<pathname>/client_deploy.wsdd");
Now, when I send a request to the WebService, I got this error message:
Server.userException:java.lang.RuntimeException: CryptoFactory: Cannot load properties:<fname>
I added the properties file in the classpath, but still getting the same error. Any pointers how can I fix this issue?
Thanks a lot.