15.4. System.Web.Services namespace

The System.Web.Services namespace, which can be found in the System.Web.Services.dll assembly, contains classes that are used to create and consume web services. The classes in this namespace are WebService (which provides access to the common ASP.NET objects), WebServiceAttribute (which can be used to add additional information to a web service), WebMethodAttribute (which defines a method as a web method exposed by a web service), and WebService BindingAttribute (which declares the binding that one or more web service methods are implementing within the class implementing the web service).

The System.Web.Services namespace also contains the three secondary namespaces shown in Figure 15.3.

Figure 15.3. The ...

Get A Programmer's Guide to .NET 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.