Link to home
Start Free TrialLog in
Avatar of egarrison
egarrisonFlag for United States of America

asked on

Bing mapping API from SQL Server

I am trying to call Bing Mapping API from our SQL 2012 Server.  I started using this code:
https://alastaira.wordpress.com/2012/05/04/geocoding-in-sql-server-with-the-bing-maps-locations-api/

It does not seem to work anymore. I am getting the same .net errors that the other people are having.  It seems that the DLL may not execute properly.  When I manually call the constructed string from the server, I get the results.  I even hard coded the working URL strings into the C# but when called, the Dll returns only an error.

Does anyone know of a good library or code to call BING's API to lookup and calculate driving distance between points?  I am not 100% set on Bing, but do need to do it via SQL.
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Microsoft Development and Miscellaneous Programming topics added.
Avatar of egarrison

ASKER

Secondary question then.  What is the best way to call WebServices via TSQL?

Calling SOAP / XML from Bing.
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
working on a new CLR / DLL to bing. That is where I started off and guess how I need to do it.