Cadet 1st Class
Cadet 1st Class
552 views

Error execution 'wsimport'

Hello,

when i execute wsimpot to import web service i get this error:

[ERROR] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Echec de la lecture du document WSDL

what's the problem? any solution please

0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

Seems you are getting the WSDL from a https URL using a self-signed certificate. If available, you can use the http URL or import the certificate to the Java KeyStore.

Best Regards,
Sebastian 

0 Likes
Cadet 1st Class
Cadet 1st Class

@sebastian_kornexl  when i used http i get this error : [ERROR] Connection refused: connect
so how to import the certificate to the Java KeyStore?

0 Likes
Cadet 1st Class
Cadet 1st Class

and how to get certificat?
0 Likes
Micro Focus Expert
Micro Focus Expert

We have documented this here: https://www.microfocus.com/documentation/silk-central/206/en/silkcentral-help-en/SCTM-924B273A-COMMUNICATINGOVERSSL-CON.html

You can also save the WSDL locally and trigger wsimport using the local file.

 

Best Regards,
Sebastian 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.