Matei's blog

Confessions of Mort

About the author

Author Name is someone.
E-mail me Send mail

Recent posts

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Bing maps web service weirdness

I’ve experienced some interesting issues with the Bing Maps web services, specifically the token service. Looks like it’s been a problem for some folks, and this time Google produced no conclusive results.

The symptoms are that despite entering your account id and password correctly you cannot add a Web Service reference from VS 2008. You get an error message similar to this:

There was an error downloading 'https://staging.common.virtualearth.net/find-30/common.asmx?wsdl'.
The request failed with HTTP status 400: Bad Request.

I’ve tried this on several machines with the same result. Hitting the site via IE works fine. Normally you have the option of using wsdl.exe/svcutil.exe and generating your proxy and this is what I normally use for web services. In this case that doesn't work well since my project is a Compact Framework project. The usual tools don’t seem to do the job, there is no switch that allows to specify the target framework as Compact Framework.

The trick that worked for me was to download the .wsdl as common.wsdl and serve this file from my Web Development Server. Once this is set up, you can go ahead and add the Web Service reference from VS and point to this locally hosted common.wsdl. This should allow you to generate a web service proxy for the token service.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by mateid on Tuesday, July 07, 2009 4:27 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Some more shots

A few more shots I’ve taken over the past few weeks. The first one is in Vancouver, where I just missed ALT .Net. It was amazing how crowded the bay was, the weather was fantastic and there were quite a few sailboats about.

Next couple of shot at Calgary Farmer’s Market. I have a couple of more of the textured ones, there was a small shop selling a variety of items made of felt. The colors and textures were too much to resist.

3677292218_dd014c24ca_b

3687737969_8e823ae448_b

3687731991_fb6886ab3e

 

 

 

 

 

 

 

Enjoy!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Photography
Posted by mateid on Monday, July 06, 2009 2:00 PM
Permalink | Comments (0) | Post RSSRSS comment feed