cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP web service not working with HTTPS

Jelena
Active Contributor
0 Kudos

We need to provide some web services to integrate SAP with third-party software. I've created an RFC-enabled FM in SAP and created a web service for it. We have to use HTTPS protocol because there is some sensitive data involved.

When the web service is created using profile '...LOW' (basic HTTP with user/password), it works just fine and can be tested successfully in WS Navigator and soapUI. But when I try using profile '...MEDIUM' and HTTPS transport guarantee (with user/password or any other setting), I'm getting an error 'Connection refused' when trying to test it.

Also in the WSDL file link we can only use 'http'. If I try replacing it with 'https', I get an error message 'Invalid SSL message, peer seems to be talking plain' in WS Navigator.

What do we need to do to get a web service to work with HTTPS? Unfortunately, I have very limited experience with web services and don't know much about related technologies, but there is no one else available (even Basis is outsourced). I searched on SDN, but couldn't find anything helpful so far. Any pointers would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

former_member236708
Participant
0 Kudos

HI

Have you managed to execute web service using HTTPS,

Could you please share the fix on using HTTPS ???

Thanks

Jelena
Active Contributor
0 Kudos

It's been 4 years, so I honestly don't remember the details, but I believe this was solved when our network security team applied SSL certificate. We used HTTP for testing and HTTPS in Production.

Former Member
0 Kudos

Hi Mohan,

Are you able to resolve this issue?

if yes, please share your solution.

Thanks

Krishna

former_member236708
Participant
0 Kudos

Yes, we are web dispatcher using https, that solves our problem.

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

First check whether HTTPS is enabled on your ERP system (unlikely if this is dev system).

Please follow SAP documentation: http://help.sap.com/saphelp_nw73/helpdata/en/49/23501ebf5a1902e10000000a42189c/content.htm to configure SSL/HTTPS on ABAP AS then only you can use SSL.

Regards,

Gourav