Sunteți pe pagina 1din 3

ID2208 page 1 of 4

Exam in ID2208 Programming Web Services, 2009-03-10, 09:00-


13:00

Rules
This exam is “closed book” and you are not allowed to bring any material or equipment (such as
laptops, PDAs, or mobile phones) with you. The only exceptions are an English to “your favorite
language” dictionary and pencils.

Instructions
• Please read the entire exam first!
• Write clearly
• Each sheet of paper must contain your name, ”personnummer”, Problem number and a unique
sheet number
• Write only on one side of a sheet. Do not use the back side
• Only one Problem must be reported on each sheet
• If more than one sheet is needed the continuation should be clearly noted on the beginning of
each sheet and the sheet numbers used should be consecutive
• Always motivate your answers. Lack of clearly stated motivation can lead to a reduction in the
number of points given
• The tasks are not necessarily sorted in order of difficulty. If you get stuck it might be a good idea
to go on to the next task.

Grading
The grades depend on the sum of exam and bonus points n:
n < 50 fail (F)
50 ≤ n < 60 grade E
60 ≤ n < 70 grade D
70 ≤ n < 80 grade C
80 ≤ n < 90 grade B
90 ≤ n grade A

GOOD LUCK!

Mihhail Matskin, mobile 0704614269


ID2208 page 2 of 4

Problem I. Introduction.
a) What is Service Oriented Architecture (SOA)? Which roles and which operations it assumes?

(5p)

Problem II. XML.


a) What are advantages and disadvantages of data representation using elements and using attributes
in an XML document? When do we prefer each of these representations?
(4p)

b) What is the role of “targetNamespace” attribute in XML Schema description?


(5p)

c) What is difference between import and include in XML Schema reuse? How this influences
XML instance documents which use the XML Schema?
(5p)

Problem III. SOAP messaging.


a) What is SOAP data model? Give an example.
(5p)

b) What is role of SOAP Headers and what kind of information they usually include?
(4p)

c) Explain meaning of feature and properties in SOAP? Give an example.


Explain how the same feature can be expressed by bindings and by modules.
(6p)

Problem IV. Service description.

a) Which components of a Web service description present answers to each of the following
questions about the service: What, Who, Why, Where, How?
(5p)

b) Explain role of the binding element in a WSDL document. Which standard binding extensions
are defined in WSDL?
(5p)

Problem V. Service discovery.


a) Explain difference between registry-based and index-based service discovery mechanisms.
(5p)

b) What is tModel in UDDI description? Give an example of its usage.


(5p)
ID2208 page 3 of 4

Problem VI. Web services policy description.

a) What are WS-Policy operators? Briefly explain them


(5p)

Problem VII. Web services security.

a) Briefly explain purposes of WS-Security, WS-Trust, WS- SecureConversation, WS-Federation


and WS-Privacy specifications?
(6p)

Problem VIII. Coordination.

a) Explain what is compensation mechanism? Give an example.


(4p)

b) Give an example of WS-Coordination flow between two Web services when a central coordinator
is used (you may present the flow graphically)
(5p)

Problem IX. Web Services composition.


a) How a correlation of messages with the process instance is done in BPEL? Give an example.
(5p)

b) Explain relationships between partnerLinkType, partnerLink and portType in BPEL?


(5p)

Problem X. Stateful resources.

a) Explain when many-to-one relationship between Web services and WS-Resource is appropriate?
(4p)

b) What are Resource properties and Reference property elements in WS-Resource?


(6p)

Problem XI. Semantic Web Services.


a) Explain how grounding of service is proposed in OWL-S?

(6p)
------------------------------End of Exam---------------------------------------------------------------------------

S-ar putea să vă placă și