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

Registered Service uses HTTPs instead of HTTP?

Former Member
0 Likes
3,115

Hy to all,

we've registered a service from a backend system via the transaction /IWFND/MAINT_SERVICE.

We are able to call the service on the gateway, but something is strange:

When i call the service-definition-document via HTTP, for example: http://mygateway/sap/opu/odata/sap/ZDEMO1_SRV/ 

we noticed that the WSDL-file contains always the HTTPS ports instead of the HTTP ports,

  <?xml version="1.0" encoding="utf-8" ?>

<app:service xml:lang="en" xml:base="https://mygateway:8002/sap/opu/odata/sap/ZDEMO1_SRV/" xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">

<app:workspace>

  <atom:title type="text">Data</atom:title>

<app:collection sap:pageable="false" sap:addressable="false" sap:content-version="1" href="Flights">

  <atom:title type="text">Flights</atom:title>

  <sap:member-title>Flight</sap:member-title>

  </app:collection>

  </app:workspace>

  <atom:link rel="self" href="https://mygateway:8002/sap/opu/odata/sap/ZDEMO1_SRV/" />

  <atom:link rel="latest-version" href="https://mygateway:8002/sap/opu/odata/sap/ZDEMO1_SRV/" />

  </app:service>

During the remote service registration there was never a popup or something which asked us which port we

want to use for this specific service.

Has anyone an idea why the HTTPS ports are used here?

Accepted Solutions (1)

Accepted Solutions (1)

UweFetzer_se38
Active Contributor
0 Likes

Check the tab "logon data" -> "security requirements" in transaction SICF.

But in my opinion the question has to be: why do you prefer HTTP? If the HTTPS request works all is fine (and secure!)

Former Member
0 Likes

Hy Uwe/Krishna,

thanks for your hints.

we checked that but the Security Requirement is set to "Standard"

Could there be any other reason for that?

BR

Andreas

kammaje_cis
SAP Mentor
SAP Mentor
0 Likes

Hi Andreas,

Then it is from ICM parameters.

Goto Tcode SMICM.

Goto->Parameters->Dispaly

Search for "icm/HTTP/redirect". This parameter will force a http request into https.

Thanks

Krishna

Former Member
0 Likes

Hy Krishna,

thank you for that hint - this solved our issue!

Thanks!

Andreas

Answers (1)

Answers (1)

kammaje_cis
SAP Mentor
SAP Mentor
0 Likes

This is getting redirected by the server. Eventhough you make a http call, server redirects them to https port.

Former Member
0 Likes

Hello,

thanks for your input - do you know if there's a way to disable this redirect to HTTPS? Or does this redirect always occour if HTTPS port is configured on the system?

We found out one more thing: this behaviour does occour just for services registered from an remote system  - local services provide the HTTP protocol and ports...

best regards,

andreas

kammaje_cis
SAP Mentor
SAP Mentor
0 Likes

Goto Tcode SICF in your remote server. Click on execute (F8)

Open the node /sap/opu/odata/sap.

Click on Logon options. Change the security requirement back to 'Standard'.

Before doing this you may consider security related concern raised by Uwe.

Thanks

Krishna