System.Web.Services Namespace

Contains classes that enable you to create XML Web services using ASP.NET and XML Web service clients. XML Web services are applications that provide the ability to exchange messages in a loosely coupled environment using standard protocols such as HTTP, XML, XSD, SOAP, and WSDL. XML Web services enable the building of modular applications within and across companies in heterogeneous environments making them interoperable with a broad variety of implementations, platforms and devices. The SOAP-based XML messages of these applications can have well-defined (structured and typed), or loosely defined parts (using arbitrary XML). The ability of the messages to evolve over time without breaking the protocol is fundamental to the flexibility and robustness of XML Web services as a building block for the future of the Web.

Classes

WebMethodAttribute

Adding this attribute to a method within an XML Web service created using ASP.NET makes the method callable from remote Web clients. This class cannot be inherited.

WebService

Defines the optional base class for XML Web services, which provides direct access to common ASP.NET objects, such as application and session state.

WebServiceAttribute

Used to add additional information to an XML Web service, such as a string describing its functionality.

WebServiceBindingAttribute

Declares a binding that defines one or more XML Web service methods. This class cannot be inherited.

Enums

WsiProfiles

Describes the Web services interoperability (WSI) specification to which a Web service claims to conform.

Remarks

To get started creating XML Web services using ASP.NET, look at the WebService class, which XML Web services can derive from to get access to the ASP.NET intrinsics and the WebMethodAttribute class, which must be placed on any method that you want to programmatically expose over the Web.