Comments (4)
I've just commented on the issue OData/ODataSamples#29 and perhaps we get http://service.odata.org fixed.
from openui5.
I might be wrong, but I'm guessing this is the OPTIONS method being sent by the browser in the case of a cross-domain access request, and it's Northwind's (valid) response saying it doesn't support that method. If you run via a proxy or with relaxed browser security restrictions (for example), this won't occur - see http://jsbin.com/wevac/6/edit for example.
from openui5.
Like @qmacro already said, the problem is that the Northwind Service doesn't seem to support Cross-Domain Requests.
You should use a proxy to handle this, but if you have access to the service (so if you run an own for your app) you should enable CORS there and it should work fine.
An example using cors-anywhere: http://jsbin.com/qozusiwu/1/edit
from openui5.
Correct , use this URL to add proxy over it.
var oModel = new sap.ui.model.odata.ODataModel("proxy/http/services.odata.org/Northwind/Northwind.svc");
from openui5.
Related Issues (20)
- Documentation of sap/ui/core/Core should better explain how to use the Core. HOT 1
- [sap.m.MessageStrip] Feature Request: Simplify announcement of message strips HOT 1
- sap.m.Menu control requires focus lost (klicking into space outside the menu) in order to close HOT 1
- Feature Request: sap.m.StandardTreeItem - indeterminate state - same logic as web component sap.ui.webc.main.TreeItem HOT 1
- CDN: source map no longer applied expectedly since 1.120 with Chromium browsers HOT 5
- UploadSet on Surface Tablet not same behaviour as on iPad HOT 1
- [sap.m.upload.UploadSet] sap.m.IllustratedMessage does not bind i18n text, and illustrationType requires special prefix HOT 4
- sap.ui.unified.Calendar - ui issue when selecting date from next month, old date remains outlined HOT 1
- there is no “Standard” text in the built-in sap.ui.comp.smartvariants.SmartVariantManagementUi2 in the FilterBar. HOT 2
- sap.m.StandardListItem: Icon not correctly aligned vertically HOT 1
- Request: method to get hex code of an sap.ui.core.IndicationColor HOT 1
- CSRF token cannot be resolved - Integration card HOT 2
- sap.m.Table: Ability to export to a spreadsheet (Excel, CSV, ...) HOT 3
- sap.m.Table ListMode Delete for table cannot be used in drag and drop because selection of a row is not permitted HOT 2
- JS Doc for calculateStartDate in SinglePlanningCalendarView HOT 3
- Dialog Cancel Buttons have Border around them in 1.119 and 1.120 HOT 1
- FeedInput is using deprecated type definition HOT 2
- Fiori Elements routing as nested component - not tracking history correctly HOT 2
- Advise needed: Firefox does not send xhr because of syncXHRFix.js and XHRInterceptor.js HOT 8
- ViewSettingsDialog _globalReset HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openui5.