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?
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?
Your company is developing an Articles service that will encapsulate a legacy content management system.
The existing content management system uses a proprietary XML vocabulary (called ArticleML). Each article record in the system is represented by an "article" element as shown here:
The new Articles service contract is able to continue using this XML document structure for article data it will exchange via request and response messages. However, the existing content management system
was not designed to work with XML Schema. The proprietary article records were stored as XML documents but never validated using XML Schema. You are tasked with the responsibility of defining a
WSDL definition with an embedded XML schema for the new Articles service. As a start, you are asked to create preliminary versions of the WSDL definition and XML schema so that they only define the first
"message" element for the request message that submits an article record to the service, as per the example above. Which of the following accomplishes this?
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?
You are asked to create a Claim service that is capable of retrieving insurance claim records. To fulfill this requirement, you first define an XML schema that describes the structure of the messages. The request
message that is sent to the service will need to be based on a "ClaimLookup" element that contains the claim number within a "claimNumber" child element. The response message sent from the service needs to
be based on the "ClaimLookupResponse" element that contains the same "claimNumber" element along with the "claimAmount" and "claimStatus" child elements. The schema (named "Claims.xsd") looks like this:
Your next task is to define the WSDL definition for the Claim service. Which of the following WSDL definitions correctly incorporates the above schema?
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?
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?
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?
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?