WSDL with authentication


I have a URL to a WSDL that requires you to authenticate. When I add it as a service reference in VS2008 it brings a popup asking for username and password. Entering the right info, I am able to download the WSDL and have VS generate info. When I try to execute the code, it is giving me a not logged in message. Do I have to authenticate myself in the code? If so, can someone explain how?


Try checking this out: