Web Services Architecture and Its Specifications [Electronic resources] : Essentials for Understanding WS-* نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Web Services Architecture and Its Specifications [Electronic resources] : Essentials for Understanding WS-* - نسخه متنی

Luis Felipe Cabrera, Chris Kurt

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


XML and the Infoset


XML is used to structure the content of messages sent to and from a Web service. This content can be carried in message header blocks or in the functional payload of the message body. In our example procurement system, XML is used for the wire representation of the PurchaseOrder (and all other messages) transmitted from the School of Fine Art to Microsoft Press. A simple PurchaseOrder for 120 copies of the book titled A History of Modern Art is shown as an XML fragment below.

Note

Each of the message fragments and XML examples in this part of the book include line numbers. These line numbers are for reference and ease of explanation only and are not part of the wire format of the messages when transmitted.

Lines of the message fragments that are described in more detail are shown in boldface.


XML and the Infoset
(01) <!-- Order 120 copies of History of Modern Art -->
(02) <po:PurchaseOrder
(03) xmlns:po="http://ex.mspress.microsoft.com/po">
(04) <po:Book>
(05) <po:Title po:ISBN="0-1318-4105-X">A History of Modern Art</po:Title>
(06) <po:Price po:Currency="USD">62.19</po:Price>
(07) <po:Quantity>120</po:Quantity>
(08) </po:Book>
(09) </po:PurchaseOrder>

The XML Information Set for this document contains the following information items:

Appendix B, "XML Infoset Information Items.")

Appendix D, "Sample Namespace Reference."

/ 130