You are on page 1of 4

UNIT-5

INTRODUCTION TO WEB SERVICES

1. Define Web services. //APR/MAY 2011


Web services are self-contained, modular applications that are defined,
published, and accessed across the web.
Web services are made of loosely coupled, disparate systems. These disparate
systems consist of component based applications and use standardizing messaging
formats based on XML.

2. Give the Basic components of the Web services model.


i. Service-oriented architecture
ii. Service roles
iii. Technology stack
iv. Architectural processes
v. Value chain

3. Define SOA.
Service oriented architecture(SOA) forms the basis of the web-services model.
In SOA all the entities are treated as services and the services are created by using the
objects, which are merely reusable software components.
SOA provides a service model that enables the services residing on any network
to be published, located and invoked by other services.

4. What are the features of the service model defined by SOA?


 Service abstraction
 Service-encapsulation
 Service modularity
 Service polymorphism

5. Define Service-abstraction.
Service-abstraction defines the characteristics of the service. The characterizing
of the service based on its rationale is known as service abstraction.
It can be defined as the capability to define and characterize the operations of a
service.

6. Define Service-encapsulation. //NOV/DEC 2011


After defining the characteristics of the service, the rationale processes of the
service are hidden from the user of the service. This is called service encapsulation.
Service abstraction benefits both the user and the implementer. The user
benefits from the simplicity of using the services and the implementer benefits from the
extensibility of the model.

7. Define service modularity.


Service modularity partitions the service into loosely coupled modules of
service abstractions that can be combined together with each other to create a reusable
service library.
8. Define service-polymorphism.
Service polymorphism provides the capability to invoke different service
behaviors by using a single, generically defined service interface of a service
abstraction.
Service polymorphism enables the dynamic runtime binding of the services.
This enables a service to use another service dynamically at runtime.

9. What are the different service roles?


The different roles are:
 Service-provider
 Service broker
 Service requestor

10. What are the responsibilities/ functions of a service provider?
A service provider supplies a web service application or a web service module in the
SOA. The service provider must conform to the principles of the service model before
publishing the web service on the web.

11. What are the responsibilities/ functions of a service broker?


A service broker is a centralized directory that can be used to provide directory
services, such as registering and discovery. The service broker is responsible for making
the web service available in any potential requestor.
A service broker is also known as service registry.

12. Who is a service requestor? //APR/MAY 2011


A service requestor is a potential client of the web-services module. It is the consumer
of a service that the service provider makes available through the service broker.
The service requestor looks up or discovers the services that are available in the service
registry.

13. What are the roles of a service provider?


(i)Creation
a) Analysis & design
b) Development and testing of the service framework
c) Documentation
(ii) Publishing
(iii) Perseverance
a) Waiting for the requestor to bind to the provider nodes
b) Management of a dormant state through some activation logic
c) Lease management

14. What are the life-cycle tasks of a service broker?


a) Connection management
b) Transaction monitoring
c) Event services
d) Security mapping
e) Profile exchange
f) Component registry on the service broker
g) Connector discovery
h) Content-based routing

15. What are the roles of service requestor? //NOV/DEC 2011


i. Preliminary
a) Prepare a requirement list
b) Classify the requirements based on services
c) Draft a plan of action
ii. Discovery
a) Look for a central registry
b) Discover the services
c) Obtain a proxy from provider
iii. Invocation
a) Bind to the service abstraction
b) Invoke the service

16. What are the steps in the invocation of service?


a) Creation of service abstraction
b) Description of service abstraction
c) Register/ publish the service
d) Discovery of service
e) Binding and invocation

17. What do you mean by the description of service abstraction?


Description is the first process of the web services model. Description is the process
where the service provider describes the service-abstraction for a service.

18. What is discovery?


In the discovery process, a client or service requestor looks for services in a standard
registry. The client then discovers the service on the registry.
The steps involved in finding the service are:
i) Lookup
ii) Discovery

19. Give the categorization of the service registry.


The directories under UDDI registry are:
(i) White pages
(ii) Yellow pages
(iii) Green Pages

20. How the service is described in the white pages?


White pages provides a directory mechanism for registering the web services
specific to the name of the business entity, contact information, IDs or any other
description.
21. How the service is described in the Yellow Pages? //APR/MAY 2011
Yellow pages provide a directory mechanism for registering the web services specific
to the services themselves. They also register the product index of the service.

22. How the service is described in the Green Pages?


Green pages provide a directory mechanism for registering the web services specific to
the functionality of the service. A service provider publishes a service abstraction based
on the e-business rules, operational descriptions, invocation descriptions and data
binding aspects of the service abstraction.

16 Marks:

1. Explain in detail about web services architecture. Describe in detail about service
oriented roles in web services. //APR/MAY 2011
2. Describe the three tier webbased architecture.
4. How to build the web applications? Explain the steps ?
5. Explain SOAP concepts. //NOV/DEC 2010
6. Develop the web page for library management system using WEB SERVICES.
7. Develop the web page for railway reservation system using WEB SERVICES.
8. Write in detail about various HTML4 protocols namely
(1)HTTP (2) SMTP (3) POP3 (4) MIME (5) IMAP
9. Explain the elements of WWW. //APR/MAY 2011
10. Describe the system architecture of a multi-tier application. //NOV/DEC 2010

You might also like