You can choose any type of Visual Studio .NET C# project for your application. Your choice depends on your application requirements only. For our sample program, let's select C# Windows console application project and call it VzSimpleClient
.
VzSimpleClient
as the name for your project and choose a location for your project files and click OK.Note: If you are using Microsoft Visual Studio .NET 2005 and if your default project files location is set to C:\Documents and Settings\user_name\My Documents\Visual Studio 2005\Projects\project_name\..
, you will have to choose a location with a shorter path. The reason is that there's an issue with Visual Studio 2005 C# method generation from WSDL (we will discuss the issue in detail in the Generating Stubs From WSDL section). As a solution, we will create a batch file that will fix the problem. The file will be placed into and run from the directory that contains the Web References
folder (usually ..\Projects\project_name\project_name\
), but because of the 256 character command line limit imposed by the Microsoft NTFS file system, the full pathname (including the path and the file name) must fit within this limit or the C# compiler will not be able to run the batch file.