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 Visual Studio can generate this code for me using the Service Reference wizard. But it doesn't seem to work without a public WSDL.
How do I generate the code for talking to this web service using this WSDL file?
Using WSDL.exe didn't work for me (gave me an error about a missing type), but I was able to right-click on my project in VS and select "Add Service Reference." I entered the path to the wsdl file in the Address field and hit "Go." That seemed to be able to find all the proper types and added the classes directly to my project.