Project and Portfolio Management Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Getting error while calling PPM web service

Advisor

Getting error while calling PPM web service

Hi,

 

We are trying to access demand management web services to create request.

We are using DemandServiceClient.java file as test to create PPM request.

But we are unable to create request. It is giving below error.

Exception in thread "main" org.apache.axis2.AxisFault: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;


We dont have any SSO restriction for the web service URL.

Can anyone tell me what could be the problem.

 

Best Regards,
Shravan

3 REPLIES
Valued Contributor

Re: Getting error while calling PPM web service

Hello Shravan,

 

The stack trace error:

 

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

 

means the cert from the keystore on the java client machine DOES NOT match the cert from the web server. You can find many solutions for this same stack trace error on the google search site, it is not relating to any specific application. It is a general keystore issue.

 

This error is also seen with PPM-QC integration while working on HTTPS cluster enviroments.
Is your webservice address configured with HTTPS?
If yes, try using HTTP and see if the issue gets resolved.

 

Hope this helps.

 

Thanks,
Subash

Advisor

Re: Getting error while calling PPM web service

Hi Subash,

 

Thank you for your response. We are using HTTPS configuration. Due to application security, we should use HTTPS only not HTTP. Is there anyway we can get the solution using HTTPS.

 

Besr Regards,

Shravan

 

 

Highlighted
Valued Contributor