Hi all,
I was wondering if it's possible to use the Web Dispatcher of HANA to route incoming rfc connections through to the xs engine.
The idea behind this:
- Create an odata service within a BW system (but also could be any RFC webservice, so I don't want any installation on the bw system)
- Create a SAPUI5 application on HANA xs engine
- Call the external odata service in the SAPUI5 application (doesn't work directly caused by CORS origin policy)
--> Therefore I need a reverse proxy mechanism or something that routes my connection to pass the origin policy
I also found a how-to for setting up the SAP Web Dispatcher but after configuring I only get is an error message.
SID=BW, EXTSRV=bw.tld:1234, SRCURL=/sap/opu/odata/, SRCSRV=hana.tld:5678
https://help.sap.com/saphelp_nw73/helpdata/en/c5/ec466f5544409982c7d3ca29ce1ad3/content.htm
Now the SAPUI5 application should open hana.tld:5678/sap/opu/odata/odata_srv/. The Web Dispatcher should recognize the pattern, call bw.tld:1234/sap/opu/odata/odata_srv/ and return the data to the origin in order to pass the origin policy.
My question:
1. Is it possible to use the default SAP Web Dispatcher which is installed with the HANA system, or is an additional external Web Dispatcher required that needs to be also installed on the HANA system?
2. If it's working with the internal one: Can someone post an example how to configure the Web Dispatcher?
Thanks
Christian