Hello UI5 Gurus,
I am practicing different SAP UI5 controls by creating sample UI5 apps.
Till now I have been using http://services.odata.org/V4/Northwind/Northwind.svc/
in
?$format=json
Therefore, directly getting json data and thereby using sap.ui.model.json.JSONModel() for setting model to UI Controls.
Now am trying to consume data from SAP Demo Gateway services using sap.ui.model.odata.ODataModel
But not able to , can anyone please highlight where I am making the mistake.
JS Bin - Collaborative JavaScript Debugging
Note: In the code I have put the password ( just replaced with ****** for the sake of posting it publicly ).
Thanks,
Sijin