Skip to Content
0
May 19, 2011 at 08:24 PM

ABAP web service not working with HTTPS

1079 Views

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.