There are two ways to do this. You can use the IDE to create the WSDL, or you can do it through the command line.
1. To create it using the IDE:
In the Solution Explorer area, right-click the project that you want to add to the Service:

Then you can enter the path to your WSDL service and press go:

2. To create it through the command line:
Open the VS 2010 command prompt (Programs -> Visual Studio 2010 -> Visual Studio Tools)
Then do:
WSDL /verbose C:\path\to\wsdl
WSDL.exe will output a .cs file for your consumption.
If you have other dependencies that you received with the file, for example xsd, add them to the argument list:
WSDL /verbose C:\path\to\wsdl C:\path\to\some\xsd C:\path\to\some\xsd
If you need VB output, use /language:VB in addition to /verbose .
Lynn Crumbling Oct 03 2018-12-12T00: 00Z
source share