简体   繁体   中英

SAPUI5 Odata Connection to Server

i have a question.. is there a way to get the odata data without a cloud connector? so basicly like http/ https://serverip:port/sap/opu/odata/sap/ ... ? If i try it trough the browser it works.. i get my metadata.

my manifest looks like this 表现

i tryed it also with http.. but it wont work cause the origin request is a https (webide). The Console says..

安慰

i try it already with proxy/ before the ip but almost the same.. the errormessage go away except of one the [ODataMetadata] initial loading of metadata failed - . I even dont get the login popup like before over the cloud connector.. so is there a way to do it like this? that i can develope in the webide? in someday i want that the appilcation ia standalone app. And dont need the scp

thanks guys.

If you are using SAP Web IDE, the easiest way to do it, would be to add a Destination for your backend system in SAP Cloud Platform, and then add an OData service using that Destination in SAP Web IDE (this will create entries in manifest.json and create wiring to the destination in neo-app.json). As your particular endpoint works through your browser, you wouldn't need to use Cloud Connector.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM