#1  
Old 18th July 2012, 21:52
scadelearning scadelearning is offline
Junior Member
 
Join Date: Jan 2011
Posts: 23
Default XMLHTTPRequest Error trying to load upcoming events

I receive the following error when trying to load upcoming events.

XMLHttpRequest cannot load http://xscadelearningx.api.channel.l...2.0/events.xml. Origin http://apompei.com is not allowed by Access-Control-Allow-Origin.

I've tried this on multiple domains including where it'll actually live. I'm just testing it now. The odd thing is this works through Dreamweaver CS5.5 "Live View". So what is preventing me from access this XML file?
Reply With Quote
  #2  
Old 26th July 2012, 21:51
scadelearning scadelearning is offline
Junior Member
 
Join Date: Jan 2011
Posts: 23
Default Cross domain request policy!!!!

So it seems its the browser / web server security settings that return the Access-Control-Allow-Origin message. How is this request suppose to be made if this is the case? I am very new to JS so any help is a appreciated. The API documentation states the result can be XML or JSON. I'm having a problem with the result being returned as XML.
Reply With Quote
  #3  
Old 21st August 2012, 11:50
scadelearning scadelearning is offline
Junior Member
 
Join Date: Jan 2011
Posts: 23
Default The answer is no!?

After talking with the it department here at my institution my issue was resolved by accessing the API through another server to pull down the events XML file and then I was able to load it from within our domain.
Reply With Quote
  #4  
Old 25th February 2013, 18:23
zurza zurza is offline
Junior Member
 
Join Date: Feb 2013
Posts: 2
Default

We did the same, we accessed the API atrie krediti through another server and pulled it down!! vaporizer

Last edited by zurza; 2nd July 2014 at 13:32. Reason: error
Reply With Quote
  #5  
Old 12th July 2013, 16:55
nomansaleh nomansaleh is offline
Junior Member
 
Join Date: Jul 2013
Posts: 14
Default

Quote:
Originally Posted by scadelearning View Post
I receive the following error when trying to load upcoming events.

XMLHttpRequest cannot load http://xscadelearningx.api.channel.l...2.0/events.xml. Origin http://apompei.com is not allowed by Access-Control-Allow-Origin.

I've tried this on multiple domains including where it'll actually live. I'm just testing it now. The odd thing is this works through Dreamweaver CS5.5 "Live View". So what is preventing me from access this XML file?
Hi , i had a same problem with my site configuration, i come across a website http://thecustomconfigshop.com/ there services are fantastic and there rates are also reasonable , i recommend this site for your problem.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump