21.12.2013 Views

READIT - 2009 - Indira Gandhi Centre for Atomic Research

READIT - 2009 - Indira Gandhi Centre for Atomic Research

READIT - 2009 - Indira Gandhi Centre for Atomic Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Proceedings of <strong>READIT</strong>-<strong>2009</strong>, Kalpakkam - 603 102, 29-30 Dec <strong>2009</strong><br />

APPLICATION<br />

CODE<br />

WEB<br />

SERVICE<br />

APPLICATION<br />

CLIENT<br />

PLATFORM AND<br />

LANGUAGE<br />

SPECIFIC<br />

COMMUNICATION<br />

PLATFORM AND<br />

LANGUAGE<br />

NEUTRAL<br />

COMMUNICATION<br />

Fig 1: Web Service – Abstraction layer<br />

Service<br />

Registry<br />

FIND<br />

PUBLISH<br />

Service<br />

Customer<br />

Service<br />

Provider<br />

BIND<br />

Fig 2: Web Service – Architecture<br />

Remote clients and applications (Service customer) uses XML <strong>for</strong> data transport and SOAP<br />

(Simple Object Access Protocol) <strong>for</strong> using the service. Web service can be thought of as<br />

component architecture over the web. Similar to the component development model, web<br />

services must support registration with lookup services and a public interface <strong>for</strong> the client to<br />

invoke the service. Each web service must register itself with a central repository and the<br />

clients can lookup the registry <strong>for</strong> a desired service. When a service is located the client has to<br />

obtain the reference to the service. The service provider must publish the public interface <strong>for</strong><br />

the service so that the clients can invoke the various methods using the reference. A web<br />

service receives in<strong>for</strong>mation from the client in the <strong>for</strong>m of messages similar to method calls.<br />

On completion of the service the response message is encoded in XML. Public interfaces and<br />

the repositories are also implemented in XML. XML provides plat<strong>for</strong>m neutral data transport.<br />

Theoretically XML based web services can thus interoperate with another XML based web<br />

service provided both the services agree upon common protocols <strong>for</strong> communication. We now<br />

discuss on the most commonly used web service technologies. To create a web service the<br />

following technologies are used. SOAP – Simple Object Access Protocol is a lightweight and<br />

simple XML based protocol. It promotes exchange of structured and typed in<strong>for</strong>mation on the<br />

web by describing messaging <strong>for</strong>mat <strong>for</strong> machine-to-machine communication. WSDL – Web<br />

Services Description Language is an XML <strong>for</strong>mat <strong>for</strong> describing the web service interface. It<br />

also covers in<strong>for</strong>mation on the data types <strong>for</strong> all message requests and responses. Additionally<br />

68

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!