Question: 1
You have written the following WSDL definition to describe the Payroll service, which provides a "PayrollNotification" operation that sends out employee payroll information:
Subsequent to a review by the enterprise architecture team, you are notified that although this WSDL definition is technically correct, it is not in compliance with current internal design standards. Specifically, it is a current convention for the WSDL namespace to be the default namespace, rather than using the "wsdl" prefix. Furthermore, another design standard dictates that the "Ins" always be used to represent the target namespace. Which of the following WSDL definitions have been correctly revised to comply with the design standards?
Question: 2
You have developed the following WSDL definition for the Product Notification service that needs to be able to notify customers every time a new product is added to a product catalog:
The service has a "ProductNotification" operation that receives a request message containing product information. The receipt of this request message triggers the issuance of a notification to customers. This operation does not issue a response message. Your next task is to define the concrete description for this WSDL definition and you start with the "binding" element. Which of the following represents the correct "binding" element for this WSDL definition?
Question: 3
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?
Question: 4
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?
Question: 5
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?