You need to expose RFC as Web Service in SAP system. To create a Web Service, you have to open Transaction SE80 and this will open ABAP Workbench.
You can define Web Service for −
In Web Service Wizard, enter the name and short text and select Function Module as Endpoint Type
When you navigate to configure service, you need to select SOAP profile from drop down as below −