in my application (running on NW 7.40 AS Java) I'm creating a model via
// Create tasks.svc model var tasksSvcURL = "/bpmodata/tasks.svc"; var tasksODataModel = new sap.ui.model.odata.ODataModel( tasksSvcURL, false);
This is working fine.
Now we want to make the application accessible from outside our network.
From outside the network it's working fine.
But if I call my application via https://<external_url>/<sapui5 application> from inside the network, I receive the following error:
"Uncaught TypeError: Cannot read property 'dataServices' of undefined".
This happens when the model is created (line 4 in the code above).
It seems that the authentification is not valid although the user has to enter the credentials when opening the application.
What could be the reason for this behavior?
Thanks in advance!