My application needs to talk to a web service that hasn\'t got an online WSDL definition. The developers however supplied me with a WSDL file.
With a public WSDL Vis
Since the true Binding URL for the web service is located in the file, you could do these simple steps from your local machine:
1) Save the file to your local computer for example:
C:\Documents and Settings\[user]\Desktop\Webservice1.asmx
2) In Visual Studio Right Click on your project > Choose Add Web Reference, A dialog will open.
3) In the URL Box Copy the local file location above C:\Documents and Settings[user]\Desktop\Webservice1.asmx, Click Next
4) Now you will see the functions appear, choose your name for the reference, Click add reference
5) You are done! you can start using it as a namespace in your application don't worry that you used a local file, because anyway the true URL for the service is located in the file at the Binding section