Hi
Found few people stuck with the msdn tutorial on geocoding using Bing or virtual earth maps.
When you are using Visual studio 2008 and add reference to http://staging.mappoint.net/standard-30/mappoint.wsdl or http://service.mappoint.net/standard-30/mappoint.wsdl ,
the resultant handle (private MapPoint.FindServiceSoap findService) findService cannot be instantiated as an object, coz the VS complains you cannot initiate object of an abstract class or an interface
Solution
Instead of Service reference , add the above ref rul as Web reference. Here is how:-
Right click on your Add Service Reference and then select Advanced button and on nbext screen add as an Web reference. This should solve findService behaving like class again instead of an interface
cheers
0 comments:
Post a Comment