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?
Answer : A
You currently have a Catalog service that currently imports an XML schema that is based on PROD-XML, an industry standard vocabulary for representing product catalog information. Specifically, the Catalog service WSDL definition contains "message" elements that reference the "productDefinition" element that is defined in the "prod1Q.xsd" schema. The current WSDL definition is as follows:
A new version of the PROD-XML vocabulary is released and you are required to upgrade from the "prod10.xsd" schema to the new version, "prod20.xsd" schema. Although the new version still defines an element named "productDefinition", the target namespace of the schema has changed from "http://www.prod-consortium.org" to "http://www.prod-consortium.0rg/2.O". You now need to update the WSDL definition to reflect this change. Which of the following is correct?
Answer : B
You have developed a Library service that provides an "AddBook" operation that is able to add a book record to a library system. This operation accepts a message based on an "AddBookRequest" element that contains book record details, such as its author and title. It then responds with a message based on the "AddBookResponse" element that acknowledges that the book was successfully added. Below is the current WSDL definition:
You are asked to extend this WSDL definition in order to add a new "DeleteBook" operation that is able to receive a request message based on the "DeleteBookRequest" element and reply with a response message based on the "DeleteBookResponse" element. Which of the following describes the minimum number of message, operation and "portType" elements that will need to be added in order to fulfill these requirements?
Answer : D
The technical architecture department contacts you to tell you that all existing WSDL definitions need to be modified to add an additional concrete description in order to bind the service to a new version of SOAP. You begin with the WSDL definition for the Notification service, as shown here:
Given the fact that this WSDL definition has only one "operation" element, which new elements will need to be added in order to add the concrete description described above?
Answer : D
You have created the following WSDL definition to describe a PO service that accepts purchase orders submitted by customers:
However, when you try to use this WSDL definition, your system returns an error message stating that it is invalid due to a problem with namespaces. Which of the following revised WSDL definitions correct the problem?
Answer : B
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
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?
Answer : C