Normally any valid url will returns a response which can be either a valid response or an error response. Both will return as soon as the server sends the response back to the client. Please verify that the server is hit and that it sends the expected response to the client. Then you can inspect your DOM or network requests in the browser using FireFox (firebug) or Chrome (developer tools) to see that the client is sending the request and getting the response. If all works then we can further investigate.
The only exception to the above is an error of type "request timed out" which is triggered by a timer in the client. If a request fails to return in 30 seconds the response is set in the client to alert that there was an error. This implies that the Query you are sending is not returning and so the time out is reached. HTH ChartMan On Mon, Aug 16, 2010 at 8:32 AM, Magnus Lüttkens <[email protected]> wrote: > The web service I created is only available locally from my computer. > But, as far as I am concerned, a time-out error is not related to the > url's content. So this url for instance... > > http://www.tidningskungen.se/medieregistret/Offers.aspx?name=elle > > ...should give a response (it is some xml-data). And it does, if it is > typed into a we browser. But when used in the example above it does > not work. Why? Does the web service has to send certain hearders? > > > On Aug 16, 6:57 am, ChartMan <[email protected]> wrote: > > Can you send an example of a failing url. > > > > On Sun, Aug 15, 2010 at 10:43 PM, Magnus Lüttkens <[email protected] > >wrote: > > > > > > > > > I'm new to the Visualization API and just try to get it work. I manage > > > to get the examples work locally, and I have created my own Web > > > Service which I think is being produced correctly. > > > > > My problem is that whenever I change the url in: > > > > > var query = new google.visualization.Query('http:// > > > spreadsheets.google.com/tq?key=pCQbetd- > > > CptGXxxQIG7VFIQ&range=B1:D11&pub=1'); > > > > > ..to something else than an url from a Google-example, I always get a > > > "Time-out Error". Why is this, I mean even though the url content > > > would be completely incorrect, I should get a response any way. I'm I > > > right? Why do I get a "Time-out Error"? > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Visualization API" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-visualization-api%[email protected]><google-visualization- > api%[email protected] <api%[email protected]>> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-visualization-api?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
