This article provides introduction about web services
Today the Internet connectivity is increasing the day by day. Earlier the connectivity was limited only to the computers that were using same hardware and software technologies. But this limited functionality was insufficient to fulfill the ever-growing needs. So there was necessity of such kind of a system can allow inter platform communications, or I can say that the communications should be independent of the Operating Systems and Programming Languages. To address this issue the concept of web services was introduced.
A web service has list of methods and procedures that can be used by any of the applications irrespective of the programming languages, OS, hardware used to develop them. Any type of applications can access the functionality provided by the web service and such functionality is called web methods or web APIs.
A web service allows the communication via internet standards XML and HTTP.Thus I, can say that any computer that has an access to the internet can have access to the web service. Once the web service is deployed on the Internet it can be used by any of the clients using HTTP and XML. There can be a web service, which provide the details of any person based on its social security number. This service can be readily available to any clients who need to access it.
The fundamental requirements for a web service are listed as under.
The various requirements described above are based on the open standards such as XML, SOAP, WSDL and UDDI.
· WSDL (Web Services Description Language) describes, publicly available methods provided by the web service. The information it provides such as the name of methods, parameters passed to the web services and the values it returns. It is a standard for describing the web service methods. WSDL is a XML format that is used to describe web services.The following are the elements of WSDL.
o definitions: This is the root element and has web service name and its target namespace.
o types: This element defines the data types used by the web services. WSDL uses W3C XML Schema syntax to define data types.
o message: This describes the request and response messages.
o portType: It is most important element of web service. This defines the operations such as the input and output/Request and Response messages involved.
o bindings: In bindings element we define the way messages are transported i.e. binding style and transport protocol.
o documentation: It will provide the brief description of the service.
· UDDI (Universal Description, Discovery and Integration) provides a mechanism for clients to dynamically discover services available. When a service provider wants to make a web service publicly available it registers it in UDDI directory and provides WSDL for describing the web service.
Introduction to HTTP - Hypertext Transfer Protocol
HTTP is one of the most successful and widely used protocols on the Internet today. It is application-layer protocol used to transmit and receive hype...ADO.NET - Data Access Technology
As more the applications are becoming complex, more the data requirements. Most applications need database access. ADO.NET provides a tremendous amoun...Exception Handling in C#
It has been observed rarely that a program runs successfully at its very first attempt. Mistakes are very common while developing a program and are co...