Re: Getting error while calling PPM web service (360 Views)
Reply
Advisor
ShravanK
Posts: 33
Registered: ‎02-19-2013
Message 1 of 4 (444 Views)

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

Please use plain text.
Valued Contributor
knsub
Posts: 25
Registered: ‎03-30-2012
Message 2 of 4 (397 Views)

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

Please use plain text.
Advisor
ShravanK
Posts: 33
Registered: ‎02-19-2013
Message 3 of 4 (389 Views)

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

 

 

Please use plain text.
Valued Contributor
knsub
Posts: 25
Registered: ‎03-30-2012
Message 4 of 4 (360 Views)

Re: Getting error while calling PPM web service

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation