Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPUI5 XML View Navigation using Router - Error

Hi All,

I am trying to Navigate between two XML Views.

I am referring the blog.

When i do an Inspect Element in Chrome, I am getting this error

  1. OPTIONS$metadata  datajs.js:17
    1. o.defaultHttpClient.requestdatajs.js:17
    2. E2datajs.js:17
    3. o.requestdatajs.js:17
    4. (anonymous function)ODataMetadata.js:6
    5. O._loadMetadataODataMetadata.js:6
    6. sap.ui.base.EventProvider.extend.constructorODataMetadata.js:6
    7. M.extend.constructorODataModel.js:6
    8. osap-ui-core.js:135
    9. (anonymous function)

I am not able to see any records.

I used

var  oModel = new sap.ui.model.odata.ODataModel("");


If i use url as "proxy/https/"

Then it uses the url like

http://localhost:59788/CodeJamApplication/proxy/https/$metadata 500 (Connection timed out: connect)

Plesae help.



Former Member
Not what you were looking for? View more on this topic or Ask a question