03-22-2013 03:08 PM
I have a XML file on my server, updated by cron every 10 minutes and i want load data to my webworks app from it, but ajax jquery function does not support cross domains. So here is my question - how should get this data? Can i somehow download this file and then use ajax?
Solved! Go to Solution.
03-24-2013 04:36 PM
I know its crazy long thread and a bit complicated but try get your head around this:
It uses a js called soapclient which was the one way I could get to read external XML. It also explains how to bypass the whole browser protection blocking CORS.
03-26-2013 02:12 PM
03-26-2013 04:59 PM
I have been struggling with file download for quite some time. The simplest solution I have found is to use XMLHttp for download and then use a "writer" to get it to the file system. I have some sample cod if you want