You are asked to build a newTimesheet service that needs to provide centralized access to timesheet-related data access functions. Because the service delivery project team follows a "contract-first" approach when building any service, you and your group of developers are asked to create a WSDL definition that will need to import an existing "Employee.xsd" schem
a. Furthermore, in order to comply with established design standards and conventions, you are given the following instructions as to how the WSDL definition must be designed:
* It must contain a "message" element for the request message with the name "getWeeklyHoursRequestMessage". The "message" element must contain a "part" element that references the "EmployeeHoursRequestType" element defined in the imported XML schema.
* It must contain a "message" element for the response message with the name "getWeeklyHoursResponseMessage".The "message" element must contain a "part" element that references the "EmployeeHoursResponseType" element defined in the imported XML schema.
* It must contain a "portType" element called Timesheetlnterface" that contains an "operation" element called "GetWeeklyHoursLimit", an "input" element referencing the request message and an "output" element referencing the response message.Three of your junior developers take on this assignment. At the end of the day, each developer presents you with a different WSDL definition. Which of the following is a correctly designed WSDL definition that also complies with the above instructions?
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
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:
Which of the following XML schemas will validate the two samples shown above?
You have written the following XML schema to describe a message that contains employee payroll information:
Your company's enterprise architecture team reviewed your schema to ensure that it conforms to internal design standards used for XML development. They have notified you that although your XML schema is technically correct, it must use the "xsd" prefix for the XML Schema namespace, rather than making it the default namespace. Which of the following revised XML schemas complies to this internal design standard while retaining its original meaning?
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?
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?