A partner organization has been trying to send an invoice XML document as part of a SOAP message to your Invoice service. The IT people at the partner organization are convinced that the invoice XML document is correctly structured and contains valid data. However, the SOAP message has been repeatedly rejected by your Invoice service. Someone from the partner organization e-mails you the following XML document fragment that was extracted from the SOAP message:

Subsequent to some further investigation, you determine that you are actually supporting four different versions of the Invoice WSDL definition, each with a different XML schema. Which of the following XML schemas will successfully validate the above XML document fragment?

Answer : C
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
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?

Answer : C
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?


Answer : C
You are in the process of designing a service that manages content in a database of medical images. The service is able to add, update and delete images in the database. Each of these three functions requires a separate message exchange with the service. Therefore, the XML schema for this service provides an "addimage" element, an "updateimage" element and a "deleteimage" elements for the request messages, and separate "addlmageResponse," "updateimageResponse" and "deletelmageResponse" elements for the response messages.
Which of the following describes the minimum number of WSDL "message", "operation", "portType", "binding", and "service" elements that the WSDL definition must have for this service?
Answer : A
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
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?

Answer : C