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?
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?
Your company has developed a PO service that allows customers to submit purchase order documents. The message sent by a customer must be based on a predefined "purchaseOrder" element and the message received by the customer is based on a "messageAcknowledgement" element. These two elements are defined in the following two separate XML Schema definitions:
The "purchaseOrder.xsd" schema:
Note that these two schemas have different namespaces. That is because the "purchaseOrder.xsd" schema is specific to purchase order-related functions, while the "ack.xsd" schema is more generic and used for a variety of different purposes.
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?
You are asked to create an XML schema for an Address Formatting service that needs to be able to accept a mailing address and then return the same address rearranged in a different format defined by the postal service. You are given the following specific instructions as to how the XML schema should be designed:
* The XML schema requires two elements named "AddressLookup" and "AddressResponse".
* The "AddressLookup" element must contain child elements named "address1", "address21" "city". "stateOrRegion", "postalCode" "country", in that order. Each of these elements must have the type string.
* The "AddressResponse" has the same children as the "AddressLookup" message, plus it contains an "addressValid" element as its last child. This element is added to indicate whether a valid address was found, and therefore this element must be of type Boolean.
Which of the following XML schemas fulfills the requirements while also following the instructions?