What are wsdl documents used for

Assignment Help Other Subject
Reference no: EM133520

Question 1

(a) (i) Explain the role of a DTD in XML

(ii) Illustrate, with the aid of examples, the difference between an XML document being well formed and valid

(b) Identify three key differences between DTDs and XML Schemas

(c) Consider the following XML document that contains information on people, books and literature prizes-

<literature>

<person id="p1">Nadine Gordimer</person>

<person id="p2">J M Coetzee</person>

<book id="b1">

<title>The Conservationist</title>

<author ref="p1"/>

</book>

<book id="b2">

<title>Life and Times of Michael K</title>

<author ref="p2"/>

</book>

<book id="b3">

<title>Disgrace</title>

<author ref="p2"/>

</book>

<prize>

<name>The Nobel Prize in Literature</name>

<award>

<year>1991</year>

<author ref="p1"/>

</award>

</prize>

<prize>

<name>The Booker Prize</name>

<award><year>1974</year><work ref="b1"/></award>

<award><year>1983</year><work ref="b2"/></award>

<award><year>1999</year><work ref="b3"/></award>

</prize>

</literature>

The above representation captures facts such as the Nobel Prize in Literature was awarded to Nadine Gordimer in 1991 and the Booker Prize was awarded for the book with title "Disgrace" in 1999

(i) Write a DTD fragment which comprises element and attribute declarations for the elements person, award and author

(ii) Write an XSLT template rule which will produce an HTML table of awards of the Booker Prize. The table should have two columns: the first containing the year of the award, the second containing the title of the book that won the prize in that year

Question 2

(a) What do you understand by the term Data Island? Give appropriate syntax to define one

(b) Describe the three types of Compositors used within the W3C XML Schema language that handle the order of individual elements

(c) Distinguish between Internal Entity and External Entity as used with DTDs. Illustrate your answer with simple examples

(d) ElementType is one of the major node use to define an Element in XML Schema document. Describe the following five associated attributes name-

(i) Content

(ii) dt:type

(iii) name

(iv) order

(v) model.

QUESTION 3

(a) (i) Discuss three properties of the WebService attribute

(ii) Discuss three properties of the WebMethod attribute

(b) Explain how the following protocols are used to invoke an XML Web Service-

(i) HTTP-Get

(ii) HTTP-Post

(iii) SOAP

(c) Using a diagram, illustrate how SOAP serialization / deserialization works when implementing a Web Service

(d) Write a .NET Web Service to create a currency converter that converts US Dollar to the following currencies-

England: 0.686

Canada: 1.603

EURO: 1.118

The Parameter inputs are: Country and Amount

QUESTION 4

(a) What are WSDL documents used for?

(b) Describe fully the importance of each of the following elements used by the WSDL document while implementing HTML pattern matching-

(i) Types

(ii) Messages

(iii) PortTypes

(iv) Bindings

(v) Services

(c) Outline the main steps required to access a Web service with the WebService Behavior

(d) List two ways how to handle errors in a WebService Behavior. Use extract codes to illustrate your answer

Reference no: EM133520

Questions Cloud

Purpose a summary journal entry to record raw materials used : Purpose a summary journal entry to record raw materials used
Strategic human resource management : integrated process, The aligned process, The separate process, main elements of human resource development, corporate culture, piecemeal approach in organisations, Matching model of HRM
Differentiate between batch and real-time systems : Resource use is one characteristic used to differentiate between batch and real-time systems. Describe.
What is impact of technology on media : What is impact of technology on media
What are wsdl documents used for : What are WSDL documents used for Discuss one possible methodology for undertaking a performance evaluation in this organization Outline the main steps required to access a Web service with the WebService Behavior
Evaluate the munson''s taxable income for 2011 : Evaluate the Munson's taxable income for 2011? What is existing income tax expense for the year ended 12/31/11?
What do you know by mass media : What do you know by Mass Media
Evaluate the company''s financial statements : Are the depreciation techniques used in the company's financial statements evaluated by existing income tax laws? If not, who is responsible for choosing these methods? Describe.
Evaluate product cost and purpose an income statement : Evaluate product cost and purpose an income statement under absorption and variable costing.

Reviews

Write a Review

Other Subject Questions & Answers

  Write a technical description of the functions

Write a technical description of the functions which are available on a workstation for new students who may be unfamiliar with using computers

  Strategies that should be adopted by tourism organisations

Examine the strategies that should be adopted by tourism organisations in order to deliver a high level of service during the service encounter Critically examine the factors that marketers of tourism destinations should consider to successful..

  Identifying and explaining operation of todd restaurants

To analyse a set of data, and write a memo, identifying and explaining your insights into the operation of Todd Restaurants.

  What is an anthropometric variable

What is an anthropometric variable? In what ways can anthropometric data be used at the workplace for the design of a manhole to be provided in a confined space for maintenance purposes? How would you identify ergonomic problems in a construct..

  Love canal case

The report analyzes the Love Canal disaster case of in Niagara Falls,

  Different channel through which the customer interacts

Describe how the different channel through which the customer interacts with Compaq influences the value of the product. Discuss the challenges that Compaq had to face with in delivery e-CRM to its customers

  Abafm landscaping corporation prototype

The ABAFM (First Letter of all Group Member's Names) Landscaping Corporation is situated at 1 Park Place Drive Markham, Ontario. It was assimilated in Ontario in the year of 2012. Currently there are 10 full-time and 10  part-time/seasonal employees...

  The process of tbl reporting

The technicalities of TBL reporting The process of TBL reporting The philosophy behind the methodology of TBL

  Explain workplace-based and task-based risk assessment

Classification of work activities, identification of hazards, and determination of risk, evaluation, control and review play a key role in a proper risk assessment programme. Explain how each of these steps should be performed Explain the diffe..

  Four steps for performing a job safety analysis

Elaborate and illustrate the four steps for performing a Job Safety Analysis/Job Hazard Analysis Safe systems of work are of paramount importance in accident prevention and should fully identify and document all the hazards, safety precautions a..

  What are the main assumptions of lp problems

What are the main properties of all LP problems. What are the main assumptions of LP problems.

  What are the characteristics of a good title

Why is it important to link each visual aid to a message What are the characteristics of a good title

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd