on 05-20-2012 11:46 AM
Hi,
We are trying to consume a 3rd party non-SAP web service on
https protocol which accepts a certificate for authentication.We have installed the certificate provided by this webservice provider in the Visual Admin keystore.
We are consuming this web service using the Adaptive Web Service Model of Web Dynpro Java. We have also setup the Destination in the Visual Admin which points to the WSDL URL of the webservice provider (https based
) with Logon data authentication as "X.509 Client Certificate" and Client Certificate Authentication keystore as "Web Service Security". If I test the destination in NWA, I get a message saying "Test Successful".However if I do the below tests, I get the following errors:
Test 1 : Testing the WSDL URL in WS Navigator:
If I put the WSDL URL of the webservice provider in the WS Navi
gator and test, it throws an error saying "Cannot download WSDL from https://<3rd phttps://<3rd partyhostartyhosthttps://<3rd partyhost>:<port>/../...wsdl : Invalid Response Code: (403) Forbidden."Test 2 : Testing the Web Dynpro Java application that consumes the web service:
Error : "Exception on execution of web service on destination 'Dest1' for operation 'sampleOp' in interface '{http://3rd party}WebServiceName'"
Additionally, in both of the test cases above, there is a warning message in the logs saying "Attempting to create outgoing ssl connection without trusted certificates"
I would require some help in resolving the above errors:
Any inputs on additional ways to consume a non-SAP https based (certificate authenticated) web service would also be helpful.
Appreciate your help !
Regards,
Melwyn.
Hi Melwyn,
Try this link:
http://help.sap.com/saphelp_nw72/helpdata/en/48/1d3a6498f633f4e10000000a42189d/content.htm
Hope its helpful to you.
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.