cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to make a secure HTTP request from ABAP program

Former Member
0 Likes
6,578

Hi All,

I have a requirement to call an external webservice running on REST architecture from abap program. Since the web service is not running on SOAP protocol, I am unable to use the SOAMANAGER to configure the consumer proxy to make the call to external web service.

I am able to directly call the web service running on REST architecture by using the CL_HTTP* utility class by passing the url with parameters for consuming the web service. But I need to make sure the HTTP request is encrypted before it leaves the SAP system.

Please provide some inputs on encrypting the HTTP request from ABAP program.

Regards,

Manjiyil

View Entire Topic
Former Member
0 Likes

Hi,

In the CL_HTTP* Utility, use mode parameter value 2 which is for HTTPS.

HTTPS is an encrypted transmission protocol for web services.

regards,

Ashish Rawat