having trouble running the Read Data sample in Eclipse

Nov 7, 2013 at 5:52 PM
I'm using Eclipse for a number of projects, and I'm having trouble getting the Read Data Sample to work.

I create a static-web page project in Eclipse, and run it on an "http preview" server. Doing all of this on my local machine, btw.

From there, I open the sample.htm link in Chrome, and the page opens OK. But when I hit the "Search" button, the call to Odata.read fails. I get a 400 - Bad Request back.

Apparently it has something to do with the "enableJsonpCallback" flag being set to true.

I'm extremely new to this kind of development. I'm just trying to understand datajs by going through the samples. Any help would be greatly appreciated.