Arcitura Education SOA Technology Lab S90.05 Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

You are asked to create an XML schema for a Postal service that accepts an address and returns the corresponding postal code. You are given the following specific instructions as to how the XML schema should be designed:

* The XML schema requires two elements named "PostalCodeLookup" and "PostalCodeResponse".

* The "PostalCodeLookup" element must contain child elements named "address1", "address2," "city", "stateOrRegion" and "country", in that order. Each of these elements must have the type string.

* The "PostalCodeResponse" element must contain only the postal code as a string and this element must not have any child elements.

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



Answer : C


Question 2

You are asked to create an XML schema and WSDL definition for a Customer Lookup service. The service accepts a customer name and returns the corresponding customerID. You are given the following specific instructions as to how the XML schema should be designed:

* Two elements named "CustomerLookup" and "CustomerResponse" are required.

* The "CustomerLookup" element will be used to represent the request message sent to the service. It must have a child element named "customerName" that has the type string.

* The "CustomerResponse" element will be used to represent the response message sent out by the service. It must have a child element named "customerID" that has the type integer.

Which of the following WSDL definitions correctly describes these messages?



Answer : A


Question 3

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 4

You are a consultant helping a large bank implement an on-line banking service for its customers. The first operation you need to build is one that allows a customer to initiate a transfer of funds. You are presented with the following sample XML document that represents the funds transfer information that this operation needs to be able to receive:

< fromAccount>12345

< toAccount>44432

2000

You are also provided with the following sample that shows that the response message sent by the service needs to return a single element with text content:

SUCCESS

Which of the following XML schemas will validate the two samples shown above?



Answer : C


Question 5

You are working with a project team that wants to deploy the Vacation Request service that allows employees to request information regarding the vacation days they are entitled to. The project team has come up with a sample XML fragment that they would like to use as the basis for the request message that the Vacation Request service will receive, as follows:

12311K/empID>

The "vacationRequest" element (which will be placed inside a SOAP "Body" element) contains a child "empID" element that will provide the employee ID used by the Vacation Request service to perform a search. Your task is to define an XML schema for this message and to incorporate the schema into the Vacation Request WSDL definition by embedding the schema content and mapping the XML Schema elements to the appropriate WSDL elements. Which of the following correctly accomplishes this?



Answer : A


Question 6

You are building the Balance Request service that allows customers to request their current account balance. You have developed the following schema (called "balanceRequest.xsd") to define the elements used in the messages exchanged by the service:

The "balanceRequest" element is to be used as the basis of the request message sent by a customer to the service. The "balanceResponse" element is to be used as the basis of the response message sent out by the service. Which of the following WSDL definitions correctly describes this service?



Answer : C


Question 7

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


Page:    1 / 14   
Total 50 questions