My problem is in calling authenticated (has username and password) web service (asmx) in ASP.NET MVC
I did the following:
- I added the web service to the project by adding service reference to the solution
 Tried to create proxy class of the service by using
wsdl.exetool using the following command syntaxwsdl /username:******** /password:************* /domain:********** web service url.asmx?wsdl
but it gave me the following error:
There was an error downloading web service url://???.asmx?wsdl.  The request failed with HTTP status 401: Unauthorized.
I can view the service in browser by giving username and password.
When I search for using svcutil.exe to create proxy class I found that it can't be used for authenticated web service.
I want to ask if there is another way to create proxy class , or if we can call authenticated web service in asp.net mvc application without proxy class.