Arcitura Education SOA Technology Lab S90.05 Exam Practice Test

Page: 1 / 14
Total 50 questions
Question 1

You are working on building a new Electronic Publications service that allows users to retrieve electronic copies of online books for display on specialized electronic reading devices. This service needs to contain two operations:

1. An operation that retrieves an entire book. This operation needs to receive a message based on a pre-defined "addBookRequest" element and then reply with a message based on the "addBookAcknowledgement" element.

2. An operation that retrieves information that describes a book. This operation needs to receive a message based on a pre-defined "getBooklnfoRequest" element and then reply with a message based on the "getBooklnfoResponse " element.

Examples of these XML fragments based on these four elements are shown here:

You are now tasked with creating an XML schema that will correctly validate these four XML fragments. Which of the following is correct?



Answer : A


Question 2

You work for a company that provides online printing services. Customers need to be able to provide their documents electronically so that they can be printed. You are asked to design the Document Management service that will allow customers to manage documents through your company's Web site. Specifically, a customer needs to be able to add a document (and receive a notification that it was added) and delete a document (and also receive a notification that it was deleted).

You have already developed the following XML schema (called "documentManagementxsd") that declares four separate elements:

The "addDocumentRequest" element is for the request message sent from the customer to the service to initiate the adding of a document. The "addDocumentConfirmation" element is sent back to the customer once the document is successfully added. The "deleteDocumentRequest" element is for the request message sent from the customer to the service to initiate the deletion of a document. The "deleteDocurnentConfirmation" element is sent back to the customer once the document is successfully deleted. Which of the following WSDL definitions correctly incorporates the XML schema to fulfill the requirements of the service?



Answer : A


Question 3

A natural disaster has damaged the server that contained your service contracts. Many files on the server have been lost, but you have been able to partially recover some files using special disk recovery tools. One of the WSDL definitions for a Postal service is mostly intact, except for the portType element, which has only been partially recovered.

The recovered WSDL definition looks as follows:

The "???" symbols indicate where data is missing. Your task is to reconstruct the "portType" element based on clues found in the rest of the WSDL document. Which of the following is correct?



Answer : C


Question 4

You currently have a Catalog service that currently imports an XML schema that is based on PROD-XML, an industry standard vocabulary for representing product catalog information. Specifically, the Catalog service WSDL definition contains "message" elements that reference the "productDefinition" element that is defined in the "prod1Q.xsd" schema. The current WSDL definition is as follows:

A new version of the PROD-XML vocabulary is released and you are required to upgrade from the "prod10.xsd" schema to the new version, "prod20.xsd" schema. Although the new version still defines an element named "productDefinition", the target namespace of the schema has changed from "http://www.prod-consortium.org" to "http://www.prod-consortium.0rg/2.O". You now need to update the WSDL definition to reflect this change. Which of the following is correct?



Answer : B


Question 5

Your organization uses an internal HR service that allows other services to update employee dat

a. Currently, the HR service has only one "UpdateEmployee" operation that receives a message with an "emp:updateEmployee" element containing the employee record, and then responds with a message with an "emp:updateEmployeeResponseM element that indicates whether the operation was successful. Below is a fragment from the current WSDL definition that shows the relevant "message", "portType" and "operation" elements:

You are asked to add a new "DeleteEmployee" operation to the WSDL definition that is capable of receiving a message with a "emp:deleteEmployee" element and then responding with a message that contains the "emp:deleteEmployeeResponse" element. Which of the following accomplishes this?



Answer : A


Question 6

You have written the following XML schema to describe a message that contains employee payroll information:

Your company's enterprise architecture team reviewed your schema to ensure that it conforms to internal design standards used for XML development. They have notified you that although your XML schema is technically correct, it must use the "xsd" prefix for the XML Schema namespace, rather than making it the default namespace. Which of the following revised XML schemas complies to this internal design standard while retaining its original meaning?



Answer : A


Question 7

You have created the following XML Schema definition for a new Invoice Reporting service:

The Invoice Reporting service needs to represent invoice data in a unique format. Therefore, this schema will only be used by the WSDL definition for the Invoice Reporting service. As a result, you decide to embed the schema inside the WSDL definition. Which of the following shows a valid way to accomplish this?



Answer : D


Page:    1 / 14   
Total 50 questions