Hi,
I am doing mobile application using Net weaver gateway and sapui5 in Phonegap. In that I am passing username and password along with service like below.
var oModel = new sap.ui.model.ODataModel(sServiceUrl, true, "username", "pwd");
Now I want to do authentication before entering into the service.
I followed the below link to do it.
Still I am getting the Gateway Login Screen.
I am in confusion where we can apply this code.
Please help me.
Thanks&Regards
Sridevi