10-07-2012 09:54 AM
I had a requirement to replace Google reverse geo code api with Bing reverse geo code api due to company standards. When I am trying to make HTTP Connection using the http://msdn.microsoft.com/en-us/library/ff701710.a
The link I am trying to establish connection is http://dev.virtualearth.net/REST/v1/Locations/13.0
Help of any sort is appreciated!!!
10-07-2012 06:28 PM - edited 10-07-2012 06:30 PM
I suggest you do the following:
1. Check out the ErrorDetails in the response XML.
2. If you have the same problem when using a simulator, use a sniffer to compare the requests. Since the URL you posted works on browser, the problem can be in the http request (a missing/bad header, wrong content type, etc.).
If you can't reproduce the problem with a simulator, try connecting to your own local page just to see the request.
Hope that helps,
10-08-2012 10:20 AM
Thanks a lot for yur reply Erez, that helped me in understanding more. The problem is with my development environement. It doesn't allow me to connect to outside netowrk from my Simulator.
I will check in a live device or outside and will post here if I have any doubts.