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

Registered Service uses HTTPs instead of HTTP?

Former Member
0 Likes
3,118

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?

View Entire Topic
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