search cancel

Using Microsoft.Net to setup a Web Services call program throws error when running build.bat - "C:\Program Files\Microsoft Visual Studio8\SDK\v2.0\bin\wsdl" is not recognized as an internal or external command.


Article ID: 52796


Updated On:


CA Directory CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On CA Security Command Center CA Data Protection (DataMinder) CA User Activity Reporting



After following the below steps when using Microsoft.Net to setup a Web Services call program, an error is thrown when running build.bat.

Running build.bat generates the following error:
"C:\Program Files\Microsoft Visual Studio8\SDK\v2.0\bin\wsdl"' is not recognized as an internal or external command

Prior Setup Steps:

  • Reference the samples in \\Chapdiisuam01\d$\Program Files\CA\CAIdentity Manager\samples\WebService\dotNet.

  • Copy the samples directory to your local system which has .Net 2.0 installed.

  • Follow the directions in the IM r12 Bookshelf.


There appears to be some confusion caused by Microsoft's product naming.

The .NET versions (1.x, 2.x, and 3.x) refers to a software "Framework" package from Microsoft that must be installed on end user computers in order to run binaries created with .NET technology. In Add or Remove Programs, this shows up as something like "Microsoft .NET Framework...". This bundle is free to download and install.

In order to be able to run the build.bat and create these binaries, the Visual Studio application that is used by developers must be installed. This is a completely separate product from the .NET Framework. Several older Visual Studio versions contained ".NET" in their names, indicating that they could build the .NET binaries, but Microsoft has moved away from that, and now uses just a year in the name ("Microsoft Visual Studio .NET 2003" vs. Microsoft Visual Studio 2008").

In Add or Remove Programs, this shows up as something like "Microsoft Visual Studio...".
This product requires a license to install and use.

Running the build.bat will require installing and configuring the Visual Studio package.

The location of wsdl.exe varies depending on the Visual Studio version, and possibly the components installed.

A default installation might look like:
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin

Search for wsdl.exe, and update the build.bat file to reference that path.


Component: IDMGR