Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Converting ABAP webservices from HTTP to HTTPS.

Former Member
0 Kudos
753

Hi experts,

I need your guidance on following requirement.

I have a set of ABAP RFCs which are exposed as web-services.

My requirement is to convert these webservices to SSL compliance.

i.e:- Convert them from HTTP to HTTPS.

Please guide me regarding what exact stpes to be followed to achieve the same

& what is to be done from developer's end & what is to be done from BASIS team or technical team handling sever configurations.

Thanks in advance,

Regards,

Chetan.

1 REPLY 1

Former Member
0 Kudos
224

Hi,

1. Change the port mapping of the HTTP Provider Service (ProxyMappings property) on the Java dispatcher. Use the Visual Administrator tool to perform this configuration task.

2. Open the Properties tab of the HTTP Provider Service running on the dispatcher.

Define the port mapping as a value of the ProxyMappings property. The value represents a comma-separated list of multiple port mappings.A single port mapping has the following format:

u2022 <Port to be mapped>=(Host:<hostname>,Port:<port number>,Scheme:<scheme>,Override:<true/false>)

By default the "Override: attribute" has a value of false. That is, if the client request contains information about the client's host and port, the HTTP Provider Service does not override its values with the values of the corresponding attributes of the ProxyMappings property. However, if no host and port information is present in the request, it takes the values of the Host: and Port: attributes of the property and sets them to the response. If, on the other hand, you set the Override: attribute to true, the values of the Host: and Port: attributes are always set to the response even if the request contained host and port information.

Defining a Single Mapping

If you have your engine installed on host localhost and port 50000 and want to map it to your proxy server with host name www.sap.com and port 80, enter the following as a value of the ProxyMappings property:50000=(Host:www.sap.com,Port:80,Scheme:http,Override:true)

Defining Multiple Mappings

If, in addition to the above mapping, you want to open port 50001 on host localhost on your engine and map it to port 443 on your proxy server with host name www.sap.com for HTTPS requests, enter the following as a value of the ProxyMappings property:50000=(Host:www.sap.com,Port:80,Scheme:http,Override:true),50001=(Host:www.sap.com,Port:443,Scheme:https,Override:true)

You should map only one host to a given proxy port! Multiple hosts per port mappings may not work as expected in cases of HTTP 1.0 clients.

3. Choose Update to add it to the list of properties.

4. To apply these changes, choose Save Properties.