Call RFC from SAP UI5 application
We are planning to develop some SAP UI5 application based on the Java development using NWDS. I was searching online on how we can call RFCs from SAP UI5 applications but did not find specific details.
I know there is one way to do it through Gateway. But we do not have SAP Gateway right now and not planning to get in near future due to licensing cost.
So, I was told to develop something in SAP UI5 without using SAP Gateway and interact with SAP system.
Can someone tell me the procedure or the path to take?
So far i understood that, I can call RFCs through JCOs or I can publish RFCs as Web Services and then call that WS. But, need to convert SOAP response to JSON in order to consume it in the SAP UI5. Is it true?
If that is right, what are the ways to consume either SAP Web Service or RFCs in SAP UI5 application?