C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » WCF/Webservices »

Overview of the System.Web.Services Namespace


Posted Date: 12 Jun 2004    Resource Type: Articles    Category: WCF/Webservices
Author: Maheshkumar Reddy.PMember Level: Gold    
Rating: 1 out of 5Points: 7



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.



Responses

Author: Ravikumar    22 Jun 2004Member 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 2009Member Level: Bronze   Points : 0
Hello

It's really nice..

Put some examples

Thanks
-NImesh.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Serialization
Previous Resource: Raising Events From Server to Clients using .NET Remoting
Return to Discussion Resource Index
Post New Resource
Category: WCF/Webservices


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use