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.
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.
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.
I asked The Googles and found a few instances related to SQL reporting web services, and someone posted here about something similar, but no one seems to have a definitive answer.
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?