Adding Web References

Whether you are creating a Web Application or a Windows Forms application, you will need to provide some method by which your code accesses a web service. Thankfully, with .NET, you don't have to write your own SOAP headers and send your own manually created HTTP messages. The .NET Framework enables you to communicate with a web service via a proxy class that is generated on your behalf. You can generate this code proxy in one of two ways: via Web References in Visual Studio .NET or via a command-line tool called WSDL.EXE. This next section will show you how to create this proxy class using both methods.

Adding References in Visual Studio .NET

The easier of the two methods of creating a proxy for a web service is to use ...

Get Microsoft® Visual C#® .NET 2003 Unleashed 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.