title: Add Service Reference, Multiple Credential Prompt
body: <p>I started a new blank console app project in VS (I am using VS2010), and choose Add Service Reference to a web service protected with a username and password.</p>
  
  <p>When I click Go in the dialog box, I'm confronted with a Yes/No prompt to accept a certificate. I choose Yes, then I arrive at a Discovery Credential prompt asking for User Name and Password.</p>
  
  <p>If I key those in correctly several times (3+), I finally gain access to the WSDL. Or, oddly enough if I key them correctly once, then cancel, then go through the process again, my creds are accepted on the first attempt.</p>
  
  <p>I asked The Googles and found a few instances related to SQL reporting web services, and someone posted <a href="https://stackoverflow.com/questions/2255904/add-web-reference-prompts-for-credentials-with-discovery-credential-dialog-but">here</a> about something similar, but no one seems to have a definitive answer.</p>
  
  <p>Can anyone explain this odd behavior? Is the service configured incorrectly or is this some sort of known issue with web services or WCF services? </p>