production urls?

Mar 26, 2009 at 5:49 PM
Sorry for being dense, and if there is documentation for this, I apologize, and please point me to it.

What are the places I need to change and what are the proper urls to get the VE Provider to work off of MS's production servers?

I have the appropriate licenses, just not sure where/what in the various config files to change to get fully there.


Thanks
Paul

Mar 26, 2009 at 6:56 PM
Figured it out and for those that are looking for the same answer:

in Web.config of your *.web application change
 

 

 

<add key="VETokenServiceUrl" value="http://staging.common.virtualearth.net/find-30/common.asmx"/>
to
<add key="VETokenServiceUrl" value="http://common.virtualearth.net/find-30/common.asmx"/>

in ServiceReferences.ClientConfig of your Silverlight app change:

<client

 <
endpoint address="http://localhost:52638/DeepEarthPrototypeWeb/Services/VETokenService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITokenService" contract="TokenService.ITokenService" name="BasicHttpBinding_ITokenService" />

 

 

 

 <

 

endpoint address="http://staging.dev.virtualearth.net/webservices/v1/geocodeservice/GeocodeService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeocodeServicecontract="VEGeocodeService.IGeocodeService" name="BasicHttpBinding_IGeocodeService" />

 

 

 <

 

endpoint address="http://staging.dev.virtualearth.net/webservices/v1/imageryservice/imageryservice.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IImageryService" contract="VEImageryService.IImageryService" name="BasicHttpBinding_IImageryService" />

 

 

 <

 

endpoint address="http://staging.dev.virtualearth.net/webservices/v1/routeservice/routeservice.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IRouteServicecontract="VERouteService.IRouteService" name="BasicHttpBinding_IRouteService" />

 

 

 </

 

client>

 

to

<client>

<endpoint address="http://localhost:60912/Services/VETokenService.svc"binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITokenService" contract="TokenService.ITokenService" name="BasicHttpBinding_ITokenService" />

 

<

 

endpoint address="http://dev.virtualearth.net/webservices/v1/geocodeservice/GeocodeService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeocodeService" contract="VEGeocodeService.IGeocodeService" name="BasicHttpBinding_IGeocodeService" />

 

<

 

endpoint address="http://dev.virtualearth.net/webservices/v1/imageryservice/imageryservice.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IImageryService" contract="VEImageryService.IImageryService" name="BasicHttpBinding_IImageryService" />

 

<

 

endpoint address="http://dev.virtualearth.net/webservices/v1/routeservice/routeservice.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IRouteService" contract="VERouteService.IRouteService" name="BasicHttpBinding_IRouteService" />

 

</

 

client>

 

 

 

The VETokenService address field is based upon your environment, the value shown above is bogus for anyone but mine.

That seemed to do it for me.  If I missed anything, please let me know.

Thanks
Pmont