Wednesday, April 30, 2008

Web Service: Roles




•Service Provider:
•Provides a service component
•Publishes the interface to the broker (UDDI)
•Service Requestor:
•Discover a service from a Service Broker
•Invoke (RPC) the service from the Service Provider. (Using Endpoint)
•Service Broker:
•Register available services from Service Providers
•Make matches with requests from Service Requesters.


Technologies that are needed to implement/use a Webservice


•XML
•A text-based markup language used for the definition of portable structured data.
•SOAP
•Simple Object Access Protocol is an XML-based protocol for the exchange of information in a distributed environment. (XML over HTTP). SOAP is a specification given by W3C
•Service always expects a SOAP request
•Service always sends a SOAP response to the client.
•AXIS
•Apache Axis is an implementation of the SOAP
•WSDL
•WSDL or Web Services Description Language is an XML format for describing network services as a set of endpoints operating on messages, these messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint.
•UDDI
•The Universal Description, Discovery, and Integration specification provides a common set of SOAP APIs that are used to register the service to the UDDI registry.


What is a Web Service?




A Web service is defined by the W3C as "a software system designed to support interoperable Machine to Machine interaction over a network." Web services are frequently just Web APIs that can be accessed over a network, such as the Internet, and executed on a remote system hosting the requested services.


(OR)


Web Services are self-contained, modular applications that can be described, published, located, and invoked over a network, generally, the Web.