Monday, October 4, 2010

Web Services

Just to describe web services in short its an interface which provides insight to a core application. If a more familiar example is considered, in programmin a java class may be callin a method of an external class. Just as that, in web service a program may be calling a particular method through a web service but over the internet. Web Service just provide the interface for that core application.


Web service consists of set of standards which are applicable around the globe. These common set of standards make it easy for anyone to write and access a webservice.


There are four main components in a webservice. SOAP, XML, WSDL and UDDI


SOAP provides a platform to exchange information as messages in a message envelop. A SOAP message normally consists of two parts, header and the body in which it again consists of two parts, message and fault handlers.

XML is the database. It is exactly same as a table of a database and normally is used to store messages. Can contain hundreds of data in the defined format.

WSDL describes the webservice, the content, and how it is arranged. Defines webservice as collection of network endpoints or ports

UDDI enables service discovery and invoking. As in a yello pages directory, it contains all the information about the webservices. Its just a register of webservices. This UDDI is sponsored by the Organisation of Advancement of Structured Information Standards (OASIS).

No comments:

Post a Comment