Building a Test Application

A test application for an ATL Web Service doesn't have to be anything complex or even have a user interface. All you are interested in is testing the Web Service interface to make sure you get the results you are expecting.

A simple managed C++ .NET console application works for testing and is very easy to build. First, use the New, Project menu item to create a new managed C++ application named ATLWebServiceApp. This will build a simple console .NET application.

Adding a Web reference to the new application is the same as it was in the last hour's lesson, except this time the discovery file is a .disco file instead of a .vsdisco file. Select Project, Add Web Reference from the menu bar to display the Add Web Reference ...

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.