On 30 juin, 16:11, Márcio Menezes <
marcio....@gmail.com> wrote:
> Hello!
> I'm trying to retrieve Json using JsonpRequestBuilder.
> When I use some external url, like this onehttp://
search.yahooapis.com/ImageSearchService/V1/imageSearch?appid=Y...,
> everything works fine.
> But, when I try to fetch json from some server inside my network, I get
> timeout error (Timeout while callinghttp://
192.168.2.12/gwt.js).
>
> When I check the request on firebug, I can see that the response came back
> and its body is exactly what I was suppose to receive. Somehow, it is not
> being handled by the callback function.
>
> If I try the same URL through browser, it works fine.
>
> Does anyone know what it can be?
Are you returning JSON-*P* (i.e. a JavaScript file containing a single
function call with an object or array literal as sole argument)?
Is the function call using the function name given in the URL (in the
query-string, name of the parameter configurable in your
JsonpRequestBuilder)?