Microsoft KB Archive/315474

= FIX: ATL Server Wizard Generates Incorrect URL in Disco File =

Article ID: 315474

Article Last Modified on 1/17/2004

-

APPLIES TO


 * Microsoft Visual C++ .NET 2002 Standard Edition

-



This article was previously published under Q315474



SYMPTOMS
When you add an Active Template Library (ATL) Server Web Service class to an ATL Server project, the wizard generates the class and a Disco file. In the Disco file, the name of the handler in the Uniform Resource Locator (URL) of the Web service is incorrect.



RESOLUTION
To work around this problem, you must manually edit the wizard-generated Disco file to point to the correct URL. Replace the project name with the service name, and then rebuild the project.



STATUS
This bug was corrected in Microsoft Visual Studio .NET 2003.



MORE INFORMATION
NOTE: In the following examples, the ATL Server project is named Project and the ATL Server Web Service class is named Service.

The wizard-generated URL resembles the following:

http://computer/project/project.dll?Handler=GenPROJECTWSDL

However, the correct URL resembles the following:

http://computer/project/project.dll?Handler=GenSERVICEWSDL

The name of the handler is incorrect.

Steps to Reproduce Behavior
To generate a Disco file with an incorrect URL, follow these steps:
 * 1) Use the wizard to generate a new ATL Server project.
 * 2) Add an ATL Server Web Service class to the project.
 * 3) Open the Disco file and note the URL.

Keywords: kbbug kbfix kbatlserver KB315474

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.