Good morning team!
I'm having some trouble with an OData query being called from an infopath web-form.
The REST URL is well formed, it does work when trying in the preview, and as well when calling it via web browser.
The problem comes when the IPath form is published on a SharePoint Server 2010 library. First time the query is performed, the form enters into an infinite callback and ends due to a timeout:

(Obviously, the query fails).
The next time that the query is performed, the following error shows up:

I'd be really thankful if you could give me any piece of advice.
I've thought of some configuration issues which doesn't let the form to perform these kind of queries, but I don't think it's reasonable... Well, we'll be in touch!
Thak you very much in advance ;)
Manuel Pérez.
ECM