Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 09, 2013 at 10:42 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ajith Cheruvally ,


      i am also facing this SSL issue when calling https webservice, could you share your solution? we don't know how to import certificate correctly. your reply is much appriciated.