Discussion:
400 Bad request when adding token web reference
(too old to reply)
Furqan Shaikh
16 years ago
Permalink
I am unable to proceed with my virtual earth development as i am getting the
following error when adding token url in visual studio:

There was an error downloading
'https://staging.common.virtualearth.net/find-30/common.asmx?wsdl'.

The request failed with HTTP status 400: Bad Request.

Kindly give your feedback at the earliest.

Regards,
Furqan
Derek Chan
16 years ago
Permalink
Furqan,

The 400 bad request message is likely due to an issue with visual studio
2005 when adding the web reference to the VE common service. What I've found
working is that you can download the .wsdl and reference it locally on your
hard drive. You would need to download the .wsdl again if it ever gets
updated again though. An alternative is to reference the Mappoint Web
Service staging .wsdl which doesn't suffer from this issue and generate/call
the token there.

As a note, please post all virtual earth related issues on the MSDN VE
Forums at:
http://social.msdn.microsoft.com/forums/en-US/vemapcontroldev/threads/

Hope that helps,
--
Infusion Development
http://www.infusion.com
Post by Furqan Shaikh
I am unable to proceed with my virtual earth development as i am getting the
There was an error downloading
'https://staging.common.virtualearth.net/find-30/common.asmx?wsdl'.
The request failed with HTTP status 400: Bad Request.
Kindly give your feedback at the earliest.
Regards,
Furqan
Ravi Vridhagiri
16 years ago
Permalink
Try the following:

1. Add https://staging.common.virtualearth.net/find-30/common.asmx?wsdl to
trusted sites
2. Add https://common.virtualearth.net/find-30/common.asmx?wsdl to trusted
sited
3. Use IE 7 on your Development machine.

Are you using VS 2005 or VS 2008?

- Ravi Vridhagiri
Post by Furqan Shaikh
I am unable to proceed with my virtual earth development as i am getting the
There was an error downloading
'https://staging.common.virtualearth.net/find-30/common.asmx?wsdl'.
The request failed with HTTP status 400: Bad Request.
Kindly give your feedback at the earliest.
Regards,
Furqan
Loading...