Tuesday, June 19, 2012 3:43 PM
I have a wrapper for different mapping service including Bing by using Add Web Reference in visual studio
Firstly i used to get this error :"Could not find endpoint element with name 'BasicHttpBinding_IGeocodeService' and contract 'BingGeocodeService.IGeocodeService' in the ServiceModel"
and fixed it by adding references to my app.config file.
However when i call my wrapper from an outside project it have the same error. In order for it to run i have to copy my app.config from the wrapper folder to external project.
Any idea or fix that i can do so i dont have to copy the app.config over please?
Thank you very much in advance
Wednesday, June 20, 2012 7:11 AMOwnerThat's pretty normal for that type of service. I recommend not using the SOAP services. They are old and outdated by several years. The Bing Maps REST services should use as they are much faster, have more options, are being updated regularly and overall just the better approach to take. Documentation on how to use these services from .NET can be found here: http://rbrundritt.wordpress.com/2012/01/06/bing-maps-rest-service-net-libraries/
Wednesday, June 20, 2012 9:49 PM
Thank you very much
I will change to REST then