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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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





Metadata Exchange


Before interacting with the Order Processing endpoint, the School of Fine Art's procurement system can retrieve the endpoint's policy description to verify that all the requirements will be met when sending messages. The policy can be retrieved using the Get Policy request defined in WS-MetadataExchange.


WS-MetadataExchange Get Policy
(01) <env:Envelope>
(02) <env:Header>
(03) <wsa:To>http://ex.mspress.microsoft.com/orders</wsa:To>
(04) <wsa:ReplyTo>http://fineartschool.net/orders</wsa:ReplyTo>
(05) <wsa:Action>
(06) http://schemas.xmlsoap.org/ws/2004/03/mex/GetPolicy/Request
(07) </wsa:Action>
(08) </env:Header>
(09) <env:Body/>
(10) </env:Envelope>

Line 03 The GetPolicy request is sent to the order management endpoint. The request is for this endpoint's policy.

Lines 0507 This value for the Action element indicates that this is a Get Policy message. It must be sent in all Get Policy requests.

Line 09 The body of this message is empty.


Get Policy Response


The order management endpoint then returns a Get Policy Response message to the school procurement service. An example of this message is shown here:


WS-MetadataExhange Get Policy Response
(01)<env:Envelope>
(02) <env:Header>
(03) <wsa:To>http://fineartschool.net/orders</wsa:To>
(04) <wsa:Action>
(05) http://schemas.xmlsoap.org/ws/2004/03/mex/GetPolicy/Response
(06) </wsa:Action>
(07) </env:Header>
(08) <env:Body>
(09) <wsx:GetPolicyResponse>
(10) <wsp:Policy
(11) xml:base="http://ex.mspress.microsoft.com" wsu:Id="ORDER">
...
(12) </wsp:Policy>
(13) </wsx:GetPolicyResponse>
(14) </env:Body>
(15)</env:Envelope>

/ 130