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:
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?
Answer : A
Your developer is asked to build a Timesheet service that is able to receive timesheet submissions for an internal payroll system. Service consumers need to be able to send this service request message based on a root "employeeHours" element within the SOAP message body. The "employeeHourse" element will contain "ernpID" and "hours" child elements. Furthermore, the service needs to return a message based on a "response" element that contains "empID" and "status" child elements. Your developer comes to you with the following WSDL definition:
The only revision you suggest is that the value of the "style" attribute of the "soap: binding" element be changed to "document" instead of "rpc". Why?
Answer : A
Your company has developed a service that allows your customers to check the status of an order. The schema for the service is shown here:
A new customer plans to use your service, but they want to test it first. They have asked for two sample XML documents that show typical input and output message content. Which of the following pairs of XML elements will validate with the schema shown above?
Answer : D
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
You work for a local police department and you just finished building a new Crime Search service that allows police detectives to search a criminal database based on personal traits. The service returns identifying information for people that best meets the search criteri
a. The schema for the service is shown here:
A police department in a neighboring region wants to start using the Crime Search service. To help them build a service consumer program that will be able to interact with the service, they have requested that you provide them with two sample XML documents that show typical input and output message data. Which of the following pairs of XML elements will validate with the schema shown above?
Answer : B
You are in the process of designing a service that manages content in a database of medical images. The service is able to add, update and delete images in the database. Each of these three functions requires a separate message exchange with the service. Therefore, the XML schema for this service provides an "addimage" element, an "updateimage" element and a "deleteimage" elements for the request messages, and separate "addlmageResponse," "updateimageResponse" and "deletelmageResponse" elements for the response messages.
Which of the following describes the minimum number of WSDL "message", "operation", "portType", "binding", and "service" elements that the WSDL definition must have for this service?
Answer : A
A partner organization has given you samples of XML documents retrieved from their product information database. The three samples they have sent you are:
Because they are an important partner, you have agreed to write a service to accept XML documents in their format. However, they did not send you a schema, so you are tasked with defining a schema that will correctly validate their documents. Which of the following XML schemas will successfully validate each of the above XML document fragments?
Answer : B