Export (0) Print
Expand All
1 out of 6 rated this helpful - Rate this topic

System.Web.Services Namespace

The System.Web.Services namespace consists of the 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.

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.

 ClassDescription
Public classWebMethodAttributeAdding 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.
Public classWebServiceDefines the optional base class for XML Web services, which provides direct access to common ASP.NET objects, such as application and session state.
Public classWebServiceAttributeUsed to add additional information to an XML Web service, such as a string describing its functionality.
Public classWebServiceBindingAttributeDeclares a binding that defines one or more XML Web service methods. This class cannot be inherited.
 EnumerationDescription
Public enumerationWsiProfilesDescribes the Web services interoperability (WSI) specification to which a Web service claims to conform.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.