Hi all,
I am a beginner in sapui 5 . When I am trying to call the data from the url I am getting this . Its been 3 days n still the issue is not resolving.
please help me out .
- OPTIONS http://deneb.prospecta.in:8000/sap/opu/odata/sap/ZEST_FLIGHT_SRV/$metadata 401 (Unauthorized) datajs.js:17
- o.defaultHttpClient.requestdatajs.js:17
- E2datajs.js:17
- o.requestdatajs.js:17
- O._loadMetadataODataMetadata.js:6
- sap.ui.base.EventProvider.extend.constructorODataMetadata.js:6
- M.extend.constructorODataModel.js:6
- osap-ui-core.js:116
- sap.ui.controller.onInitNew.controller.js:10
- a.fireEventsap-ui-core.js:122
- a.fireEventsap-ui-core.js:134
- (anonymous function)sap-ui-core.js:134
- sap.ui.core.mvc.View._initCompositeSupportView.js:6
- E.extend.constructorsap-ui-core.js:134
- M.extend.constructorsap-ui-core.js:134
- E.extend.constructorsap-ui-core.js:134
- fsap-ui-core.js:122
- fsap-ui-core.js:122
- sap.ui.jsviewJSView.js:6
- o.(anonymous function)sap-ui-core.js:116
- (anonymous function)index.html:58
- XMLHttpRequest cannot load http://deneb.prospecta.in:8000/sap/opu/odata/sap/ZEST_FLIGHT_SRV/$metadata. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:57107' is therefore not allowed access.