We have 2 applications one is SAP Fiori App which is deployed in SAP ABAP repository and another app which is written OpenUI5 which is not related to SAP so we have deployed in Apache Tomcat.
We need to Integrate these 2 applications like on clicking of a button in Fiori app need to open the OpenUI5 app.
Problem is the Module (App) Which is deployed on Tomcat is not able open because when we registerModulePath the domian is not taking by Fiori
jQuery.sap.addUrlWhitelist("http", "tomcat.server.host", "7070", "/tomcatapp/resources/js/ui5widgets");
jQuery.sap.registerModulePath("com.xxx.yyy", "http://tomcat.server.host:7070/tomcatapp/resources/js/ui5widgets");
when i require
error is
core-min-0-dbg.js:17351 Uncaught Error: failed to load 'com/xxx/yyy/aaa/bbb.js' from /sap/bc/ui5_ui5/ui2/ushell/resources/~20151006101200~/com/xxx/yyy/aaa/bbb.js:
0 - AbortError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://sap.netweaver.net:2020/sap/bc/ui5_ui5/ui2/ushell/resources/~20151006101200~/com/xxx/yyy/aaa/bbb.js'.(…)
jQuery.sap.registerResourcePath("com.xxx.yyy", '/sap/bc/ui5_ui5/sap/tomcat_app/'); jQuery.sap.registerModulePath("com.xxx.yyy", '/sap/bc/ui5_ui5/sap/tomcat_app/'); jQuery.sap.require("com.xxx.yyy.aaa.bbb");
– Sensationalism