MultipleChoice
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?



MultipleChoice
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?

MultipleChoice
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?

MultipleChoice
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?
OptionsMultipleChoice
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?
