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.
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.