Summary
In this chapter, you have learned how to create and compile the proxy code that wsdl.exe generates for you. The proxy is an important component of consuming Web Services because it encapsulates the serialization/deserialization of SOAP messages and the communication mechanism to transport and receive your messages over the network. After examining the generated proxy code, I for one am grateful to the ASP.NET Web Services team for relieving me of that burden.
You looked briefly at the steps required to compile your proxy class, including the process and benefit of compilation in the .NET Framework.
Finally, you created an ASP.NET Web Forms application that called the Web Service you created from Chapter 2 (via your proxy) and displayed its results in your Web Page.
From here, you might want to try the following:
Add error-handling code (refer to Chapter 10).
Learn more about the inner workings of ASP.NET (refer to Chapter 6).
See how easy it is to create and consume Web Services using the Visual Studio IDE (refer to Chapter 4, "Creating a Simple Web Service in Visual Studio.NET," and Chapter 5, "Consuming a Simple Web Service in Visual Studio.NET").
Extend your Web Service by adorning it with various settings (refer to Chapter 13, "Web Service Attributes and Properties").