Thanks Alfredo.
That makes it a lot clearer. I see why this is not working now. I
guess we have to either start calling the json service from the server
side (avoiding json-p) or we have to modify the service so that it
always returns the exception in a 200 response.
Cheers
Fred
On 26 Jan,
Hi,
I'm trying to understand when the onFailure method of AsyncCallback is
called. Even when I get for example a HTTP 500 response the function
is never called.
I've added a more specific question to Stackoverflow:
Unfortunately, unless I am mistaken, there is no way to tell if a script
tag failed to load or not and why it failed in this case. So all you are
getting is a timeout exception letting you know that something went wrong.
One approach for JSONP, is to ensure on the server side that all exceptions