Beginning XML Databases (Wrox Beginning Guides)
| ||
| ||
|
1. | Which is the best answer?
| |
2. | Which elements are allowed in a SOAP XML document?
| |
3. | What does XSD stand for?
| |
4. | Which of these is the best answer?
| |
5. | Which of the following statements best describes what will cause an error with this SOAP message?
<?xml version="1.0"?> <SOAP:Envelope xmlns:SOAP="http://www.w3.org/2003/05/soap-envelope"> <Body> <region name=" Europe "> <country name=" England "> <city> London </city> <city> Manchester </city> </country> <country name=" Germany "> <city> Hamburg </city> <city>Frankfurt</city> </country> </region> <Body> </SOAP:Envelope>
| |
Answers
1. | Exercise 1 solution d. SOAP is used to send context-rich messages between computers. SOAP is used as a universally understood set of XML tags to send context-rich messages between computers, even in heterogeneous environments. |
2. | Exercise 2 solution a. A body section, containing the XML document to be sent, c. A header section, containing specifics of the body section, and d. An envelope section, constituting the root node of a SOAP XML document. |
3. | Exercise 3 solution e. None of the above. XSD stands for XML Schema Definition allowing for specification of a table, fields, and inter-table relationships definition. |
4. | Exercise 4 solution c. SOAP wraps XML documents into specialized XML tags and a Web Service can provide answers to functional expressions. Option a. is incorrect because SOAP is rather used to send messages. A server process or web server will send those messages. b. is correct but c. is a better answer. |
5. | Exercise 5 solution d. is the appropriate answer because the body tag closing element is incorrect and there is nothing wrong with the envelope tag. a. and c. are incorrect answers because the header section is optional. b. is a poor answer because there is nothing wrong with the envelope tag, but the namespace is missing from the body tag. |
| ||
| ||
|