cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming a non-SAP webservice in SAP 7.0

Former Member
0 Kudos

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:

  • Testing the WSDL in WS Navigator
  • Configuration of the Dynamic WS Proxy Destination
  • Installation of the certificate in the appropriate keystores and any additional settings
  • Resolving the error in the WD Java application

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

udaykumar_kanike
Active Contributor
0 Kudos

Hi Melwyn,

           Try this link:

http://help.sap.com/saphelp_nw72/helpdata/en/48/1d3a6498f633f4e10000000a42189d/content.htm

Hope its helpful to you.

Regards

Uday

Former Member
0 Kudos

Hi Uday,

The steps mentioned are not present in 7.0 and are applicable to CE7.2.

Would you have any idea about the other errors ?

Regards,

Melwyn