Routing Help

Aug 10, 2010 at 2:07 PM

I'm trying to use Route.cs from DeepEarth.Client.Service.Bing as follows:

Route pRoute = new Route("xxxxxx");

List<Point> pPoints = new List<Point>();

pPoints.Add(new Point(-116.3691, 43.5847));

pPoints.Add(new Point(-116.3986, 43.6356));

pRoute.GetDirections(pPoints, routeCallback);


When GetDirections is executed I get the following error:

"Could not find default endpoint element that references contract 'VERouteService.IRouteService' in ServiceModel client configuration section."

The endpoint is set to:

<endpoint address

NOTE: I changed the end from /bindaryHttp to ?wsdl but did not help.

I have a valid ApplicationID.



Aug 10, 2010 at 4:04 PM
I think from memory when VS upgrades the project, it does not upgrade
the generated code for the web services

if you look in the older version and open it in VS, then goto the web
services folder you can look in the generated code files

then you can just copy and past the generated code into the SL 4 project
Aug 11, 2010 at 2:49 PM

The ClientConfig files were out of sync.  Thanks.....