title: Error when adding web service reference in VS2012
body: <p>I am trying to add a reference to a web service for a new project in VS2012. I keep getting the below error:</p>
  
  <blockquote>
    <p>There was an error downloading
    'ServiceAddress/ConfigurationMgmt.wsdl/_vti_bin/ListData.svc/$metadata'.
    The request failed with HTTP status 400: Bad Request. Metadata
    contains a reference that cannot be resolved:
    'ServiceAddress/ConfigurationMgmt.wsdl'. The HTTP request is
    unauthorized with client authentication scheme 'Anonymous'. The
    authentication header received from the server was 'Basic
    realm="CASM"'. 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.</p>
  </blockquote>
  
  <p>The part that more confusing is that I am able to add and use a reference to the same web service using VS2010. If I open the VS2010 project in VS2012 and try to update the service reference I get the same error. </p>
  
  <p>I have tried adding the service reference to new projects in VS2012, starting VS2012 under admin mode and restarting my pc. </p>
  
  <p>I have also tried adding references to other services in VS2012 project that are available on our intranet and they seem to work fine.</p>
  
  <p>Is there something basic that I am missing here? What else can I try to find out the reason behind this problem?</p>