We have exactly the same issue, client token is correctly filled in and all
we get back is an internal server error. This a typical HTTP session:
POST /webservices/v1/routeservice/routeservice.svc HTTP/1.1
Accept: */*
Content-Length: 1675
Content-Type: text/xml; charset=utf-8
SOAPAction:
"http://dev.virtualearth.net/webservices/v1/route/contracts/IRouteService/CalculateRoute"
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET
CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
Host: staging.dev.virtualearth.net
Connection: Keep-Alive
Cache-Control: no-cache
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<CalculateRoute
xmlns="http://dev.virtualearth.net/webservices/v1/route/contracts">
<request xmlns:d4p1="http://dev.virtualearth.net/webservices/v1/route"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Credentials xmlns="http://dev.virtualearth.net/webservices/v1/common">
<ApplicationId i:nil="true" />
<Token>(redacted)</Token>
</Credentials>
<Culture i:nil="true"
xmlns="http://dev.virtualearth.net/webservices/v1/common" />
<ExecutionOptions xmlns="http://dev.virtualearth.net/webservices/v1/common">
<SuppressFaults>false</SuppressFaults>
</ExecutionOptions>
<UserProfile i:nil="true"
xmlns="http://dev.virtualearth.net/webservices/v1/common" />
<d4p1:Options>
<d4p1:Mode>Driving</d4p1:Mode>
<d4p1:Optimization>MinimizeTime</d4p1:Optimization>
<d4p1:RoutePathType>Points</d4p1:RoutePathType>
<d4p1:TrafficUsage>None</d4p1:TrafficUsage>
</d4p1:Options>
<d4p1:Waypoints>
<d4p1:Waypoint>
<d4p1:Description>Startpunt</d4p1:Description>
<d4p1:Location xmlns:d7p1="http://dev.virtualearth.net/webservices/v1/common">
<d7p1:Altitude>0</d7p1:Altitude>
<d7p1:Latitude>53.0353875465843</d7p1:Latitude>
<d7p1:Longitude>5.66861603702229</d7p1:Longitude>
</d4p1:Location>
</d4p1:Waypoint>
<d4p1:Waypoint>
<d4p1:Description>Eindpunt</d4p1:Description>
<d4p1:Location xmlns:d7p1="http://dev.virtualearth.net/webservices/v1/common">
<d7p1:Altitude>0</d7p1:Altitude>
<d7p1:Latitude>53.2019929359139</d7p1:Latitude>
<d7p1:Longitude>5.79649937639974</d7p1:Longitude>
</d4p1:Location>
</d4p1:Waypoint>
</d4p1:Waypoints>
</request>
</CalculateRoute>
</s:Body>
</s:Envelope>
HTTP/1.1 500 Internal Server Error
Via: 1.1 F2
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 893
Date: Tue, 20 Oct 2009 08:41:37 GMT
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:ServerError</faultcode>
<faultstring>An error occurred while processing the request.</faultstring>
<detail>
<ResponseSummary xmlns="http://dev.virtualearth.net/webservices/v1/common"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<AuthenticationResultCode>ValidCredentials</AuthenticationResultCode>
<Copyright>Copyright © 2009 Microsoft and its suppliers. All rights
reserved. This API cannot be accessed and the content and any results may not
be used, reproduced or transmitted in any manner without express written
permission from Microsoft Corporation.</Copyright>
<FaultReason>An error occurred while processing the request.</FaultReason>
<StatusCode>ServerError</StatusCode>
<TraceId>0eeddf8c75fc49a39d57ecd0498ccda7|BA23808</TraceId>
</ResponseSummary>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>