on 03-03-2014 4:53 AM
hi,
how to consume Odata service in sapui5 (table).
If any idea please share with me.
Hi Amit,
The eror is because u are trying for cross domain request
Regards,
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amit,
actually i want to know how to create odata service using eclipse for sapui5?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
This Problem could occur because the OData Service you want to access and your UI5 Application are in different domains.
You might want to have a look at this SAP/cloud-connectivityproxy · GitHub to solve this Issue.
Best Regards,
Ivo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tryed but some error comes:-
Failed to load resource: the server responded with a status of 401 (Unauthorized) https://xxxxxxxxxxxxxx.com/sap/opu/odata/sap/Z_BANK/$metadata
Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:55176' is therefore not allowed access.
I'm a little confused by your post. You posted in the HANA development center, but from error message you appear to be using a NetWeaver Gateway service and not an XSODATA service as one might assume from the forum you choose to post within. Are you in fact doing anything HANA specific here?
Perhaps a better overall description of what you are trying to do (with what technologies) would help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.