Using an XML Web Service in ASP.NET Pages

In this section, you build an ASP.NET page that interacts with one of the XML Web Services that you created earlier. The goal is to build an HTML page that enables you to select a province or territory name and ask the remote Web Service to return the corresponding initials from the VB6 COM component. Figure 8.21 shows the working page running on a different computer from the service. Again, the project is trivial, but the techniques apply to complex scenarios.

Figure 8.21. The ASP.NET page calls a remote service.

Developing an ASP.NET Consumer in Visual Studio .NET

Until now, all the development work ...

Get Inside ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.