on 04-03-2015 1:07 PM
Hi Experts,
i'm trying to consume Odata Model in controller and binding it to UI5 table, but unfortunately its throwing below exception in Google Chrome Development console.. any help would be highly appreciated.
Also try to disable Google security by passing this "--disable-web-security" Target Tab.
2datajs.js:17 OPTIONS http://services.odata.org/V4/Northwind/Northwind.svc/$metadata 501 (Not Implemented)
datajs.js:17 XMLHttpRequest cannot load http://services.odata.org/V4/Northwind/Northwind.svc/$metadata. Invalid HTTP status code 501
2datajs.js:17 OPTIONS http://services.odata.org/V4/Northwind/Northwind.svc/$metadata 501 (Not Implemented)
datajs.js:17 XMLHttpRequest cannot load http://services.odata.org/V4/Northwind/Northwind.svc/$metadata. Invalid HTTP status code 501
Thanks
Ab
var oModel = new sap.ui.model.odata.ODataModel("proxy/http/services.odata.org/V4/Northwind/Northwind.svc/");
Use pxoxy and i don't think you need to include metadata. Try removing the metadata and run it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when i use proxy this the URL getting redirected : http://services.odata.org/V3/Northwind/Northwind.svc/Orders?$top=5&$skiptoken=10635
i can access this url from browser without any issue.
issue Resolved now, NO idea.... what was issue .now same application pulling the record. only thing i did it just uninstall Google chrome and re-installed it... I'm not sure what was any issue with chrome or issue was something else...if any one has this kind of issue plz post it here.will be happy to hear the solution .
Thanks for your support
Hi Anup,
Due to chrome updated the methods of disable web security so you have to follow below way.
For Window8-
In Search bar write below command
--disable-web-security --user-data-dir
For Window10-
In Run Write below command
--disable-web-security --user-data-dir
Note: before trigger commands chrome should be close.
Hope its Work for you.
Regards
Iqbal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.