cancel
Showing results for 
Search instead for 
Did you mean: 

While Running Sencha apps with Odata Connector for Netweaver Getway Having Problem

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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..

1) http://scn.sap.com/community/netweaver-gateway/blog/2014/02/28/gateway-the-icf-and-solving-the-same-...

2)

regards,

Prasad Sistla.

Former Member
0 Kudos


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.

Former Member
0 Kudos

Hi,

I am facing the same Problem using the sencha touch odata connector.

Did you find any solution?

Kind regards,

Martin