on 05-19-2016 1:11 AM
I developed an App using SAPUI5 in HCP with persistence service. To connect to the databse, I'm using odata. If I use the object sap.ui.model.odata.ODataModel the connection works perfectly, but if I change it to recommende v2 version, I get a 501 error (Not Implemented), and no data is displayed at all. Has somebody encounter this issue when implementing the v2 odata object? See below the code I'm using to instantiate the odatamodel.
var OdataServiceUrl = "/route/service.svc";
var odataModel = new sap.ui.model.odata.ODataModel({
serviceUrl: OdataServiceUrl,
json: false
});
The V2 of ODataModel comes with pre-enabled features that the previous ODataModel didn't have or had them disabled by default (such as batch requests). If it's not possible to implement them on your server-side, try to disable them when instantiating the V2 model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any error in gateway error log - /n/IWFND/ERROR_LOG
BR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.