Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP web service not working with HTTPS

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.

replied

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.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question