Hi,

I am trying to submit an HTTP request via AJAX from the client to the
Google Maps Geocoding service. I keep getting a status of 0.

I know the request is valid because when I enter the URL right into
the browser address bar I get a valid result. Here is the code (assume
'url_string' has a valid url to the geocoding service - I have tested
this already as mentioned above):

var request = GXmlHttp.create(); request.open("GET", url_string,
true); request.onreadystatechange = function() { if
(request.readyState == 4) { alert("STATUS IS "+ request.status);
} }

request.send(null);

My app is running on Google appengine and I get the error when I try
it locally but also when I deploy and try it.

Any help would be appreciated.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to