What does Web Services mean?. First of all what is services. All websites provides services to its users or customers. For instance, a news site BBC retrieves detailed news when user enters news category and display it to the user, a bank site provides transaction tracking service to its customer and so on. So information delivery is a service. Web service is just about anything on the web. It's all about making web programmable rather than collection of web pages.
To put simple, Web Service is a component, running on a server that expose public interface which is callable wia HTTP. Web Service can be written in any programming language in .Net Suite as well as an application can contain any number of Web Services.
A Web Service exposes method that provide functionality and this kind of method is been named as Web Method. For example, RetrieveStockPrice is a Web Method which accepts Stock Code as input parameter and gets the latest price of the stock. These methods can be accessed by application through internet standards SOAP. This is a protocol which uses XML to describe data and HTTP to transfer application data.
REQUIREMENTS TO ACCESS WEB METHOD:
A commond data representation(XML)
A standard method for message communication(SOAP)
A standard format to describe Web Services(WSDL)
A mechanism to discover and locate web services(UDDI)
XML is cross-platform, hardware, software indepedent markup language. So XML comes in use. A client application passes arguments to web method and the method returns some data that is to be used by client application, regardless of of hardware,software platform. So XML is been used to describe data.
SOAP is an ideal mechanism to communicate with Web Service because it provides implementation-independent ifrastructure i.e we don't need to run vendor's operating system to interact which is a essential factor while communicating with Web Services.
WSDL stands for Web Services Description Language. To use Web services one should know the details of the web methodds been exposed by web services and type and number of arguments to be passed. WSDL an XML vocabulry, standard method to describe the methods exposed by web services.
WSDL document provides information such as web services available in a web site,its purpose,format,URL at which web service can be accessed.
It is a standard mechanism to register and discover a web service. To begin with a web service should be described in WSDL and then register in UDDI. UDDI contains pointer to web service and its document.
That's all about Web Services.
And ur article is quite good, but dont u think u should have explained it further.
manishchoyal [AT] yahoo.com
Good article. If you have provided an example and a bit explanation, the it will lot better.
Thanks for providing the article. Keep it up.
better be clear about thing ....