you should use jvm paramters : -Djavax.net.ssl.trustStore=<MY_KEY_STORE> -Djavax.net.ssl.keyStorePassword=<KEYSTORE_PASSOWRD>
On 2/28/07, sudip shrestha <[EMAIL PROTECTED]> wrote:
I followed: http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL :to generate client stub to access a web service I created. Everything works normally when I save the wsdl file in a local directory. But when I try to access the wsdl url directly, I get: BUILD FAILED /tomcat/workspacex/ws/build.xml:139: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException : unable to find valid certification path to requested target The wsdl url is a secure url: https://ws.xxx.com/services/MyService?wsdl. Looks like I have to import the certs or at least provide reference to the cert in ant configs... How do I go about this? Thanks for suggestions.
-- ----- When one of our products stops working, we'll blame another vendor within 24 hours. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
