on 05-10-2013 1:57 PM
I would like to say that, i want to implement SAP HANA XS OData services using with Sencha Architect 2.2.and i create XS services it's working fine on chrome URL"http://54.243.221.65:8000/TestData/StockDataIF.xsodata/Player?$top=3" data coming in xml format.but when i pass the same URL in RestProxy URL and createdAlies odata also.but after build when deploy on tom cat server it show error like "
XMLHttpRequest cannot load http://54.243.221.65:8000/TestData/StockDataIF.xsodata/Player?$top=3&%24skip=0&%24top=25. Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin. "
I am try to solved this problem last couple of days but till now i didn't get any solution Please can you help me what i am doing mistake.
I find some form the problem of CORS(Cross-Orign Resource Sharing) so can give the permission from SX OData Services.if possible then How?
Please any body Help me.
CORS access to XSODATA services will not be supported until SPS6. Then we extend the .xsaccess file to allow adding the CORS allow headers to child services.
Until then, you best option is probably to run the sencha website from HANA as well. Assuming your UI is completely client side you just load the HTML/JavaScript for Sencha and your application UI into the HANA repository and run it from there instead of Tomcat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
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.