Setting up the Development Environment

From HTNG Connectivity Wiki

Jump to: navigation, search

Development Environment Assumptions/Tips and tricks

The current version of this document assumes that the development environment has been setup in the following manner:-

  • The operating system has been configured with IIS to enable trial deployments
  • Visual Studio 2008 SP1 is installed
  • WSE 3.0 [1] has been downloaded from Microsoft and installed (information on WSE 3.0 is available via [2]

It may be the case that you have Visual Studio 2005 installed alongside of Visual Studio 2008. In this case it is likely that you're still pointing to the old version of SvcUtil.exe. The old version would be in C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin and you may find the new version in C:\Program Files\Microsoft SDKs\Windows\v6.0A. Unfortunately the way the code is written, you'll probably be pointing at the wrong version. There is an issue in the way the WcfClientTest.exe was written, it assumes you have the latest version of the Windows SDK for .Net 3.5 installed, using reflector on the assembly indicates the Microsoft.Tools.TestClient.ToolingEnvironment::GetSdkPath() member (which is called to get the path to svcutil.exe) contains the folder lookup statement(s) (see below):


The simplest solution is to install the latest version of the SDK. Confirm the current installation folder value ("CurrentInstallFolder") points to the 3.5 version of the svcutil.exe (you should have a "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin" directory that contains the correct version of svcutil.exe). Here is the link to the SDK. Even after loading the SDK you may find that Visual WseWsdl3.exe has trouble finding wsdl.exe and you get the following message performing Interface generation


In that case copy the wsdl.exe from C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin to C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin and it generally fixes the problem.

The best illustration of an HTNG web services implementation can be performed by working through an appropriate example. Over the set of chapters we will use the Single Guest Itinerary interface as a illustration of how to download the files and build a working web service.

In the next section Using the online WSDL and Schema Documentation we'll show you how to use the WSE 3.0 utilities to generate code from the published WSDL's.

Personal tools
administrative tools