cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc over SOAP using HTTPS

Former Member
0 Kudos

Hello Experts,

I have the service sap/bc/srt/idoc in my ECC server running at the URL http://<server>:<port>/sap/bc/srt/idoc?sap-client=500.

Is it possible to configure the same to use HTTPS instead of HTTP? If yes, how can it be done?

Regards,

Diptee

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184720
Active Contributor
0 Kudos

If you enable HTTPS on your ECC system it should be possible to access that services using HTTPS.

Check with your basis team to see if the HTTPS is enabled if so on which port..(if you don't have access to smicm)

Former Member
0 Kudos

Hello Hareesh,

If I can see the HTTPS service listed in the SMICM, with a Green tick under field Actv, does it mean the HTTPS service is active?

Regards,

Diptee

JaySchwendemann
Active Contributor
0 Kudos

yep

Former Member
0 Kudos

OK,

So, if HTTPS is active at the port 44300 and if the URL to the service is like http://<server>:8000/sap/bc/srt/idoc?sap-client=500 i simply will need to call it at http://<server>:44300/sap/bc/srt/idoc?sap-client=500, is it?

Regards,

Diptee

JaySchwendemann
Active Contributor
0 Kudos

You missed an "s" in the latter URL. It should read "https://<server>:44300/sap/bc/srt/idoc?sap-client=500"

But the way you are asking your question seems to point to the fact that it isn't working? Even with https instead of http call?

Please reach out for basis guys to solve this. They really should know how to set up https for an apab system. If not, come back

engswee
Active Contributor
0 Kudos

Isn't the default port for HTTPS 443?

Former Member
0 Kudos

Hello,

The server we have has the port 44300 configured for HTTPS as per the services listed in the transaction SMICM.

Regards,

Diptee

Former Member
0 Kudos

Hello Jens,

The HTTPS URL https://<server>:44300/sap/bc/srt/idoc?sap-client=500 isnt working for us. Also our basis team would need some assistance with its configuration. Could you please help with the same?

Regards,

Diptee

JaySchwendemann
Active Contributor
0 Kudos

Hmm... please see here for details on how to set up SSL. I thought most of the steps are already done Configuring the AS ABAP for Supporting SSL - Network and Transport Layer Security - SAP Library

Please share details what the exact problem is. Do you get a "untrusted site" warning when openinghttps://<server>:44300/sap/bc/srt/idoc?sap-client=500 or is the site unavailable? Is the service started in SICF?

Cheers

Jenss

Former Member
0 Kudos

Thanks Jens,

The service is started in SICF, but when I right click and say 'Test service' it launches the HTTP URL, which  works fine. But how can I test the service on HTTPS?

Currently I am trying to test the HTTPS service by manually changing the URL to the required protocol and port, with no success. The connection times out.

Regards,

Diptee

JaySchwendemann
Active Contributor
0 Kudos

Switching manually to https is fine for now. You could also configure system to automatically switch to HTTPS but that's another matter.

About your problem:

Please follow here to narrow down Testing the SSL Configuration - Network and Transport Layer Security - SAP Library

You could also give the relatively new "Task List" configuration a try. YMMV depending on which NW version you are on. Configuration using ABAP Task Manager for Lifecycle Management Automation - SAP NetWeaver Library: F... Especially have a look at SAP_BASIS_SSL_CHECK mentioned here http://service.sap.com/sap/support/notes/2017302

Cheers

Jens

JaySchwendemann
Active Contributor
0 Kudos

oh, and bear in mind that you make sure you are actually allowed to access the server on the HTTPS port from your client. Especially since it's not the standard HTTPS port 443. Proxys and firewall restrictions may apply.

Cheers

Former Member
0 Kudos

Hello Jens,

I have done the required firewall configuration.

Regards,

Diptee