SYMPTOM

When trying to reverse a WSDL from an HTTPS URL, one of these errors occurs:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed [...]

or

javax.net.ssl.SSLHandshakeException: javax.security.cert.CertificateException: No name matching [...] found.

 

SOLUTION

This can happen when trying to reverse a WSDL which is exposed through a SSL secured HTTP connection.

The workaround is to download the WSDL document from a web browser, and then to use it locally, for example file:///d:/temp/wsdl.xml