Sagara
I have exposed a web service on SSL enabled Tomcat server , I generated client code with WSDL2JAVA , When i call the service i greeting above exception , my client code and error trace are listed below . later i tried with adding System.setProperty("javax.net.ssl.trustStoreType", "JKS"); but again end up with same exception ,

....

System.setProperty("javax.net.ssl.trustStore", repoPath + "server.jks"); System.setProperty("javax.net.ssl.trustStorePassword", "password");

Exception in thread "main" org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Make sure you point to a full real (non-relative) path for the cert store [http://forums.sun.com/thread.jspa?threadID=580496&tstart=120]

asankha

--
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to