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:
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?
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?
One of your developers was asked to build a Customer Balance service that is able to update a customer's outstanding account balance. Service consumers need to be able to send messages to the service with an element named "updateCustomerBalance" that contains a "newBalance" child element. You are presented with the following WSDL definition:
What's wrong with this WSDL definition?
Your company has developed an Articles service that will allow authors to submit article documents. The service currently provides a "SubmitArticle" operation that only accepts a request message but does not respond with a response message. The request message sent to the service is based on an "article" element that includes information about the article, as well as its content. Below are the "message" and "portType" elements from the current WSDL definition for the Articles service:
Authors have requested that this service be updated to issue an acknowledgement message as a response after an article is submitted. You are asked to make this update. You begin by adding an "art:acknowledgement" element to the XML schema. Now you must update the WSDL definition. Which of the following shows how the above "message" and "portType" elements are correctly updated to fulfill these requirements?
Your IT department has decided to take a "WSDL-first" approach to building services. They took this quite literally, and developed a WSDL definition before there was a corresponding XML schema to define the message structures. The following WSDL definition was created:
You are given the task of developing an XML schema that defines two messages to work with the WSDL definition shown above. The first message requests a price from the product catalog based on a "productID" element that is a string. The second message is the response, and it returns both the same "productID" element, as well as the price in a "currentPrice" element that is of type decimal. Which of the following schemas accomplishes this?