Author Message
AmbikaSivasurianarayanan
Joined: Nov 8, 2013
Messages: 29
Offline
I am getting the following error when I try to add a web service operation for Axis2 web service "VPAppIntfService".

Please see the attached screen shot.
Any help would be appreciated.

Thanks
Ambika
  • [Thumb - EPxis2.PNG]
[Disk] Download
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
Since you are using "https", you have to add the certificate by going the Preference/Avaya Aura/Orchestration Designer/Certificates screen.
AmbikaSivasurianarayanan
Joined: Nov 8, 2013
Messages: 29
Offline
Hi Wilson,

Thank you for your response, I was able to add the certificate like you said. After that I was able to successfully add the WSOP using Axis2. Then when I tried to called the "QueryResources" of the web service in my app, getting an error.
Please see this log:

BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : session id:dev-sd-mpp01-2019291172808-2 | TestAxis2:CallAxis2Ws | queryResourcesRequestUnused is: | parameters:queryResourcesRequestUnused :
18/10/2019 10:28:08:594 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : session id:dev-sd-mpp01-2019291172808-2 | TestAxis2:CallAxis2Ws | zone is: | parameters:zone :
18/10/2019 10:28:08:610 INFO - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Calling method [{http://xml.avaya.com/ws/VPAppIntf/VoicePortal}queryResources] on web service [VPAppIntfService] at [https://10.101.253.236/axis2/services/VPAppIntfService.VPAppIntfServiceHttpsSoap12Endpoint/]
18/10/2019 10:28:08:688 ERROR - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Got AxisFault during web service call: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
18/10/2019 10:28:08:688 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Fault action <- null
18/10/2019 10:28:08:688 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Fault node <- null
18/10/2019 10:28:08:688 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Fault role <- null
18/10/2019 10:28:08:688 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Fault type <- 0
18/10/2019 10:28:08:688 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Fault message <- sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
18/10/2019 10:28:08:704 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : session id:dev-sd-mpp01-2019291172808-2 | TestAxis2:CallAxis2Ws | An exception occured, it is: | ddLastException:message : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
18/10/2019 10:28:08:704 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : session id:dev-sd-mpp01-2019291172808-2 | TestAxis2:CallAxis2Ws | Total resources: | return1:totalRes_returned :
18/10/2019 10:28:08:704 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : session id:dev-sd-mpp01-2019291172808-2 | TestAxis2:CallAxis2Ws | Unused h323: | return1:unusedH323_returned :
18/10/2019 10:28:08:704 DEBUG - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : session id:dev-sd-mpp01-2019291172808-2 | TestAxis2:CallAxis2Ws | Unused SIP: | return1:unusedSIP_returned :
18/10/2019 10:28:08:704 INFO - BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 : Using SCESession BB2D571923E05868AB1C046EBE915F8C:/TestAxis2 servlet : End
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
The certificate is missing from the truststore file. Are you running the app from the OD design environment simulator? The certificate you've added through the Preferences should have gone into the trusted_weblm_certs.jks in that Tomcat. So you need to check to see where the app is running and make sure the certificate is there. Normally in deployment, the certificate can be added through the runtimeconfig admin tool. You can get all the information from the online help or Dev_Guide doc.
AmbikaSivasurianarayanan
Joined: Nov 8, 2013
Messages: 29
Offline
Thanks Wilson, we were able to add the certificate through the runtime config admin tool in the Tomcat server and it worked.
In EPMS 7.2.2 is the axis web service "http://10.101.253.236/axis/services/AppIntfWS?wsdl" still available?
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
I am not familiar with this service. You have to check with Avaya Support.
Go to:   
Mobile view