Arcitura Education SOA Technology Lab S90.05 Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

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 2

Your IT department has decided to take a "WSDL-first" approach to building services. They took this quite literally, and developed a WSDL definition before there was a corresponding XML schema to define the message structures. The following WSDL definition was created:

You are given the task of developing an XML schema that defines two messages to work with the WSDL definition shown above. The first message requests a price from the product catalog based on a "productID" element that is a string. The second message is the response, and it returns both the same "productID" element, as well as the price in a "currentPrice" element that is of type decimal. Which of the following schemas accomplishes this?



Answer : C


Question 3

You are asked to create an XML schema for an Employee service that is required to search an HR database in order to retrieve the maximum number of hours an employee is authorized to work within a week. You are given the following specific instructions as to how the XML schema should be designed:

* Add two complex types wrapped in "element" elements named "EmployeeHoursRequestType" and "EmployeeHoursResponseType"

* The "EmployeeHoursRequestType" element must contain a child "ID" element of type integer. The "EmployeeHoursResponseType" must contain a child "ID" element of type integer, and a child "WeeklyHoursLimit" element of type short.

* The "xsd" prefix needs to be used for all XML Schema language elements.

Which of the following XML schemas fulfills the requirements while also following the instructions?



Answer : C


Question 4

You are asked to build a newTimesheet service that needs to provide centralized access to timesheet-related data access functions. Because the service delivery project team follows a "contract-first" approach when building any service, you and your group of developers are asked to create a WSDL definition that will need to import an existing "Employee.xsd" schem

a. Furthermore, in order to comply with established design standards and conventions, you are given the following instructions as to how the WSDL definition must be designed:

* It must contain a "message" element for the request message with the name "getWeeklyHoursRequestMessage". The "message" element must contain a "part" element that references the "EmployeeHoursRequestType" element defined in the imported XML schema.

* It must contain a "message" element for the response message with the name "getWeeklyHoursResponseMessage".The "message" element must contain a "part" element that references the "EmployeeHoursResponseType" element defined in the imported XML schema.

* It must contain a "portType" element called Timesheetlnterface" that contains an "operation" element called "GetWeeklyHoursLimit", an "input" element referencing the request message and an "output" element referencing the response message.Three of your junior developers take on this assignment. At the end of the day, each developer presents you with a different WSDL definition. Which of the following is a correctly designed WSDL definition that also complies with the above instructions?



Answer : B


Question 5

You are developing the Document Management service that will be providing product catalog record management operations. Your first task is to create operations for the addition and deletion of product records from the catalog. The first operation needs to be able to add a product record and needs to receive a message based on the "addProduct" element. The second operation needs to be able to delete a product record and needs to receive a message based on the "deleteProduct" element. Both of these operations need to reply with a response message based on the same "catalogUpdateConfirmation" element-So far, you have developed the following schema (called "catalogManagement.xsd"), which declares the three needed elements:

Which of the following shows a WSDL definition that correctly incorporates this schema and fulfills the requirements for this service?



Answer : B


Question 6

You have developed a Library service that provides an "AddBook" operation that is able to add a book record to a library system. This operation accepts a message based on an "AddBookRequest" element that contains book record details, such as its author and title. It then responds with a message based on the "AddBookResponse" element that acknowledges that the book was successfully added. Below is the current WSDL definition:

You are asked to extend this WSDL definition in order to add a new "DeleteBook" operation that is able to receive a request message based on the "DeleteBookRequest" element and reply with a response message based on the "DeleteBookResponse" element. Which of the following describes the minimum number of message, operation and "portType" elements that will need to be added in order to fulfill these requirements?



Answer : D


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