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.

Reply via email to