Previous page

Next page

Locate page in Contents

Print this page

Step 1: Choosing a Development Project

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.

  1. In Microsoft Visual Studio .NET, select File > New > Project. The New Project windows opens.
  2. In the Project Types tree, select Visual C# > Windows and then select Console Application in the Templates pane.
  3. Enter 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.

Please send us your feedback on this help page