Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Thu, 24 Jul 2008 11:30:40 -0700,    group: microsoft.public.mappoint.webservice        back       


Authentication Problem when Adding Service Reference in Visual Studio   
I have an example of batched geo coding that was written for .NET 2.0.
It uses the following URL:

https://mappoint-cds.live.com/CustomerData-30/CustomerDataService.asmx

I have a .NET 3.5 project and I need to generate Service Reference in Visual 
Studio project for that URL, but I keep getting an error message about user 
anonymous. I don't see any way to supply user id and password in visual 
studio dialog. I am trying to use WCF instead of .NET 2.0 webservices API if 
that makes any difference.

Error Message:

There was an error downloading 
'https://mappoint-cds.live.com/CustomerData-30/CustomerDataService.asmx'.
The request failed with HTTP status 400: Bad Request.
Metadata contains a reference that cannot be resolved: 
'https://mappoint-cds.live.com/CustomerData-30/CustomerDataService.asmx'.
The HTTP request is unauthorized with client authentication scheme 
'Anonymous'. The authentication header received from the server was 'Digest 
qop="auth", realm="MapPoint", 
nonce="5e073d737f8ee0ce420429612100aba7ba36a4d7a54649df3f1787b2cdfc"'.
The remote server returned an error: (401) Unauthorized.
If the service is defined in the current solution, try building the solution 
and adding the service reference again.
date: Thu, 24 Jul 2008 11:30:40 -0700   author:   am

RE: Authentication Problem when Adding Service Reference in Visual Stu   
Hi,

I believe that the infamous "400: Bad Request" error frequently appears when 
you try to get a web reference off the CDS asmx web service in VS 2005.  What 
I've found works is that you download the .wsdl locally and make the web 
reference off your local copy.  The CDS service rarely gets updated so this 
workaround should be okay but just keep in mind if it does ever get updated 
you'll need to download another copy and re-run the process for VS 2005.

Hope that helps,
-- 
Infusion Development
http://www.infusion.com


"Izorich@nospam.nospam" wrote:

> I have an example of batched geo coding that was written for .NET 2.0.
> It uses the following URL:
> 
> https://mappoint-cds.live.com/CustomerData-30/CustomerDataService.asmx
> 
> I have a .NET 3.5 project and I need to generate Service Reference in Visual 
> Studio project for that URL, but I keep getting an error message about user 
> anonymous. I don't see any way to supply user id and password in visual 
> studio dialog. I am trying to use WCF instead of .NET 2.0 webservices API if 
> that makes any difference.
> 
> Error Message:
> 
> There was an error downloading 
> 'https://mappoint-cds.live.com/CustomerData-30/CustomerDataService.asmx'.
> The request failed with HTTP status 400: Bad Request.
> Metadata contains a reference that cannot be resolved: 
> 'https://mappoint-cds.live.com/CustomerData-30/CustomerDataService.asmx'.
> The HTTP request is unauthorized with client authentication scheme 
> 'Anonymous'. The authentication header received from the server was 'Digest 
> qop="auth", realm="MapPoint", 
> nonce="5e073d737f8ee0ce420429612100aba7ba36a4d7a54649df3f1787b2cdfc"'.
> The remote server returned an error: (401) Unauthorized.
> If the service is defined in the current solution, try building the solution 
> and adding the service reference again. 
>
date: Thu, 24 Jul 2008 12:49:02 -0700   author:   Derek Chan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us