Building XML Web Services for the Microsoft .NET Platform phần 2

Các mô-đun có một cách dễ dàng để xem hình ảnh nền, được đặt ở đó với tất cả các mô-đun và do đó được định nghĩa trong thẻ HTML bao gồm. Tất cả các thẻ mà Ruth đã phát minh ra mình cho cấu trúc HTML của mình trong các mẫu. css file. Điều này cũng đúng cho điều hướng trang phổ biến. | soap Body StockReport Symbol MSFT Symbol Price Price StockReport soap Body soap Envelope The SOAP message contains a Digest element in the header that the remote application can use to ensure that the message has not been tampered with. If the client is doing a routine check to see what her stock closed at she might not be concerned about validating the message. But if the price of the stock triggers an event within the financial software package she might be more interested in validating the message. For example it would be unfortunate if the financial software package were to automatically liquidate her portfolio as the result of receiving a bogus message sent by some 14-year-old kid. mustUnderstand Attribute Because headers are optional the recipient of the message can choose to ignore them. However some information that can be embedded in the header should not be ignored by the intended recipient. If the header is not understood or cannot be handled properly the application might not function properly. Therefore you need a way to distinguish between header information that is informative and header information that is critical. You can specify whether the message recipient must understand an element in the header by specifying the mustUnderstand attribute with a value of 1 in the root of the header element. For example the SOAP message might request that a remote application perform an action on the client s behalf. The following example updates a user s account information within the scope of a transaction xml version encoding utf-8 soap Envelope xmlns soap http soap envelope soap Header TransactionId soap mustUnderstand 1 123 TransactionId soap Header soap Body UpdateAccountInfo email sshort@ email firstName Scott firstName lastName Short lastName UpdateAccountInfo soap Body soap Envelope The recipient of the message must update the user s account information within the scope of the client s transaction. If the .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
373    68    1    28-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.