on 09-05-2013 10:00 AM
Hi Gurus,
I made sencha apps using Odata Connector i tried to run in google chrome but i got some errors
.after that i tried to run on firefox but i got new error
[01:46:43.911] NS_ERROR_DOM_BAD_URI: Access to restricted URI denied @ file:///C:/Users/iwlt0039/Desktop/NewApp/sencha-touch-all-debug.js:35292
I also tried using apache tomcat server.
Thanks in Advance,
waitting for your Response
With Regards,
Surendra Suryawanshi
hello Pavan,
you have to crate a proxy in your development enivironment, its due to same origin policy.a
the below links will help you to fix your issue..
regards,
Prasad Sistla.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
XMLHttpRequest cannot loadhttps://sapes1.sapdevcenter.com/sap/opu/odata/IWBEP/RMTSAMPLEFLIGHT_2/TravelAgencyCollection?%24skip.... Origin null is not allowed by Access-Control-Allow-Origin.app.html:1
Hi,
You are getting this error because you are running chrome in normal mode, you need to run in --disable-websecurity. By default Chrome will not allow any XHR Requests. all the time you need to run with --disable option.
Once you are done with code, when you package your app using Cordova, that will work becuase it will allow the file:// , so you dont need to do anything.
hope it helps, if not let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am facing the same Problem using the sencha touch odata connector.
Did you find any solution?
Kind regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.