Introduction:
System.Web.Services is the namespace. From this namespace all Web service classes are derived. This namespace found in the System.Web.Services.dll assembly.
-- The classes in this namespace are:
System.Web.Services.WebMethodAttribute : This class defines a method as a web method exposed by a web service
System.Web.Services.WebService : This class provides access to the common asp.net objects.
System.Web.Services.WebServiceAttribute : This class can be used to add additional information to a web service
System.Web.Services.WebServiceBindingAttribute : This class declares the binding that one or more web service methods are implementing within the class implementing the web service
++ The child namespaces in the System.Web.Services Namespace: The following four namespaces are the secondary namespaces of System.Web.Services.
System.Web.Services.Description System.Web.Services.Discovery System.Web.Services.Configuration and System.Web.Services.Protocols
-- System.Web.Services.Description Namespace:
This namespace classes can be used to publicly describe a web services in the web services description language(WSDL). The main classes included in this namespace are:
--- Binding classes : (Binding, BindingCollection..etc)The binding classes specifies the concrete data format and protocols used in a web service.
--- Message classes : (Message, MessageBinding ..)The message classes the content – either document-oriented or procedure-oriented – of data passed by a web service.
--- Operation classes :(Operation, OperationBinding, OperationCollection..etc) The Operation classes provides an abstract definition of an action supported by a web service.
--- Port classes :The port classes defines an individual end point contained in a web service.
--- PortType classes :The PortType classes represents the collection of all Port objects contained in a web service.
--- Service classes :(Service, ServiceCollection) The Service classes groups together a set of related ports associated with a web service.
---Types classes:The Types classes describes data type definitions relevant to exchanged messages.
The above classes are the some of the main classes in this namespace. This namespace contains some other classes also.
-- System.Web.Services.Discovery Namespace:
This namespace classes allow web service consumers to locate available web services on a web server via a process called discovery.
Classes in this namespace include ContractReference, DiscoveryClientProtocol, DiscoveryDocument, DiscoveryReference, DiscoverySearchPattern, SchemaReference, SoapBinding, XmlSchemaSearchPattern, ExcludePathInfo, ..etc
-- System.Web.Services.Configuration Namespace:
This namespace helps to configure the XML Web services. The classes included in this namespace are XmlFormatExtensionAttribute, XmlFormatExtensionPointAttribute and XmlFormatExtensionPrefixAttribute.
-- System.Web.Services.Protocols Namespace:
This namespace classes implement protocols used to exchange data between web services and clients. The main classes included in this namespace are the following.
--- HttpGetClientProtocol class: This class is used for asp.net web service client proxies that use the HTTP-GET protocol.
--- HttpPostClientProtocol class : This class is used for asp.net web service client proxies that use the HTTP-POST protocol.
--- HttpWebClientProtocol class: This class is used for asp.net web service client proxies that use HTTP.
---WebClientProtocol class:This class is used for XML Web Service client proxies.
--- SoapClientMessage class:This class represents a SOAP request sent by a client or a SOAP response received by client.
--- SoapHttpClientProtocol class:This is the basic class for asp.net web service client proxies when using SOAP.
--- SoapMessage class: Represents the data in a SOAP request or SOAP response.
--- SoapServerMessage class: Represents the data in a SOAP request received or a SOAP response sent by a web service method.
--- SoapHeader class: This class represents the contents of a SOAP header.
The above classes are the some of the main classes in this namespace. This namespace contains some other classes also.
|
| Author: Ravikumar 22 Jun 2004 | Member Level: Bronze Points : 0 |
If you exaplin all these classes with some real examples will be very useful and more understandable. Just explaining available classes is not at all useful.
|
| Author: nimesh 20 Jul 2009 | Member Level: Bronze Points : 0 |
Hello
It's really nice..
Put some examples
Thanks -NImesh.
|