Instructions:: No of Pages Course Code

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

604

No of Pages : 2 Course Code : 13X001

Roll No:
(To be filled in by the candidate)

PSG COLLEGE OF TECHNOLOGY, COIMBATORE - 641 004

SEMESTER EXAMINATIONS, FEBRUARY / MARCH 2017

BSc - COMPUTER SYSTEMS AND DESIGN Semester: 5

13X001 XML AND WEB SERVICES

Time : 3 Hours Maximum Marks : 100

INSTRUCTIONS:
1. Answer ALL questions from GROUP – I.
2. Answer any FIVE questions from GROUP – II.
3. Answer any ONE question from GROUP – III.
4. Ignore the box titled as “Answers for Group III” in the Main Answer Book.
GROUP – I Marks : 10 x 3 = 30

1. Compare the differences between XML and HTML.


2. What is meant XML declarations? Give an example.
3. What is XML namespace? Why it’s important?
4. Write the meaning for the below DTD syntax
a) name ( firstName, middleName?, lastName )
b) test ( question, answer )*
5. Define XML Schema. Write the syntax to add documentations into schemas.
6. In XML Schema, how you define related set of elements? Give an example.
7. List out the advantages of DOM.
8. Draw a block diagram to show the working scenario of a web service.
9. How the error handling mechanism is implemented in web services communications?
10. What are the elements used in UDDI to structure the documents?

GROUP – II Marks : 5 x 10 = 50

11. Design a XML document for representing the contents of an anthology of poems. Each
poem should be associated with unique identifier and its author to allow easy extraction
from the anthology. The poem itself will consist of a title and number of stanzas. Each
stanza will be a number of lines, each of which may have a note associated with it.

Page No: 1
604

No of Pages : 2 Course Code : 13X001

12. Illustrate with suitable examples, explain the different ways of mentioning the attributes in
DTD to validate the XML document.
13. A Wagon is a ten years old merchant selling new and used cars to the customers.
Design a XML Schema to represent the stock of new cars and old cars for sales to the
customers. The new cars details are represented by model, color, price and comments.
Similarly the old car details are identified by model, color, price, year of manufacture,
mileage, condition and comments. Create a XML file to store the data for the above
mentioned specification and validate the same.
14. a) Discuss in detail about the node types supported in XML DOM Model (5)
b) Write a DOM program to print the name of each child node in the XML document (5)
15. With a diagram, explain the WSDL document structure.
16. Explain the role of <tModel> element in UDDI data structure. Narrate the APIs used to
manipulate the publisher information in the web service registry.

GROUP – III Marks : 1 x 20 = 20

17. Design an external DTD for the customer invoice order with the following specifications.
Each order placed by the customer generated with unique invoice number and total
purchase amount. The purchase item details are identified by item number, quantity and
price. The payment is accepted in two modes like credit card and bank transfer. If the
payment mode is credit card, validate the details by using card number, expiry date,
bank name and owner’s name. Similarly if the mode is bank transfer collect the
information of bank name, bank number and account number. Also customer address
(street, city, pincode and country) should be specified to dispatch the ordered items.
Create a XML document with the above mentioned element and justify it is valid
document or not.
18. a) Discuss about the four layers of stack implementation of Web Services. (8)
b) Design a SOAP document for request and response mechanism to check balance
amount in his/her bank account by passing Account Number as a parameter in request
document. Also explain if the parameter is not in the corresponding format, how it is
handled by the SOAP document. (12)

/END/
FD/RL

Page No: 2

You might also like