Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Consume HTTPS based webservice in ABAP

Hi Friends,

I am trying to consume an external HTTPS based webservice in ABAP. The endpoint is

https://www.swiftrefdata.com/filesdownload/getBankDirectorySAPPkg. I have tried following the steps to first create a Enterprise Service from SE80.

However I am unable to generate the proxy object due to the below error .

Exception occurred in communication framework:Error in HTTP Framework:500Native SSL errorhttps://www.swiftrefdata.com/filesdownload/getBankDirectorySAPPkg

I am very new to this. Is it because it is HTTPS? I have also tried using the if_http_client Interface as an alternate method.

However it throws an exception 'http_communication_failure'.

The technical specs from this webservice supplier says 'The SWIFTRef Automated Download Web Service requires the client application to authenticate through the basic HTTP authentication method, which means that the client application has to set the HTTPS header with valid username and password pair.'

Is there any additional configuration that I need to do before all these? Any help would be much appreciated.

Thanks,

Ajith C

Former Member
replied

Probably ABAP AS does not trust SSL cert used by that service. So you need to import it in STRUST. You should be able to find some guides how to consume service over https. If possible try plain http.

Cheers

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question