Friday, August 5, 2011

Generating C# code from a WSDL using VS 2010

A fairly common task for those consuming web services is to generate language specific code from a WSDL. MS VS 2010 makes this process fairly easy:

Open the Visual Studio Command Prompt
Identify the WSDL location
Set the output directory
Run from the VS Command Prompt
wsdl