SOA S90.05A SOA Technology Lab https://killexams.com/pass4sure/exam-detail/S90.05A QUESTION: 32 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? 65 http://www.ipass4sure.com 66 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: A QUESTION: 33 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 67 definition by embedding the schema content and mapping the XML Schema elements http://www.ipass4sure.com to the appropriate WSDL elements. Which of the following correctly accomplishes this? 68 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: A QUESTION: 34 You have developed the following WSDL definition for the Article Notification service that needs to be able to notify employees when a new article has been posted to the company's internal intranet Web site: 69 http://www.ipass4sure.com The service has an "ArticleNotification" operation that receives a request message containing the article information. The receipt of this request message triggers the issuance of a notification to employees. This operation does not issue a response message. Your next task is to define the concrete description for this WSDL definition. You have already completed the "binding" element and you now need to add the "service" element. Which of the following represents the correct "service" element for this WSDL definition? 70 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: A QUESTION: 35 You are building an HR service with an "UpdateExemptions" operation that allows employees to update the number of exemptions claimed on their paychecks. The operation is only able to receive a message containing the employee ID and the number of exemptions. The operation does not reply with a response message. A partial WSDL definition has been created so far, as follows: 71 http://www.ipass4sure.com You now need to start on the concrete description by adding an appropriate binding element. Which of the following is correct? 72 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: A QUESTION: 36 You have created an XML schema for a Purchase Order service. The schema, named "po.xsd", is as follows: Because you believe this schema will need to also be used in several different services, you decide to separate it from the WSDL definition by placing it into its own XML Schema definition. As a result, you now need to import the XML schema into the WSDL document. Which of the following code fragments shows a valid way to import the schema shown above into a WSDL "types" element? 73 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: A QUESTION: 37 You are working on a new Time service that will be able to return the current time, down to six microseconds. You have begun by creating a schema and the beginnings of a WSDL definition, as follows: 74 http://www.ipass4sure.com Your next task is to define the "portType" and "binding" elements. Which of the following fragments contain the correct "portType" and "binding" elements for this WSDL definition? 75 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D 76 http://www.ipass4sure.com Answer: A QUESTION: 38 The technical architecture department contacts you to tell you that all existing WSDL definitions need to be modified to add an additional concrete description in order to bind the service to a new version of SOAP. You begin with the WSDL definition for the Notification service, as shown here: 77 http://www.ipass4sure.com Given the fact that this WSDL definition has only one "operation" element, which new elements will need to be added in order to add the concrete description described above? A. a "portType" element and a "binding" element B. a "portType" element, a "binding" element and a "service" element C. a "portType" element only D. None of the above. Answer: D QUESTION: 39 You are asked to create an XML schema for an Address Formatting service that needs to be able to accept a mailing address and then return the same address rearranged in a different format defined by the postal service. You are given the following specific instructions as to how the XML schema should be designed: - The XML schema requires two elements named "AddressLookup" and "AddressResponse". - The "AddressLookup" element must contain child elements named "address1", "address21" "city". "stateOrRegion", "postalCode" "country", in that order. Each of these elements must have the type string. - The "AddressResponse" has the same children as the "AddressLookup" message, plus it contains an "addressValid" element as its last child. This element is added to indicate whether a valid address was found, and therefore this element must be of typeBoolean. Which of the following XML schemas fulfills the requirements while also following the instructions? 78 http://www.ipass4sure.com 79 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: C QUESTION: 40 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: 80 http://www.ipass4sure.com You are now tasked with creating an XML schema that will correctly validate these four XML fragments. Which of the following is correct? 81 http://www.ipass4sure.com 82 http://www.ipass4sure.com A. Option A B. Option B C. Option C D. Option D Answer: A 83 http://www.ipass4sure.com For More exams visit http://killexams.com