為了讓SOA的應用能夠更加的成熟,一些標準化組織(主要有W3C,OASIS)對Web Services的功能進行了擴展,為此制定了一系列的WS-*規范。通過這些規范,使得Web Services在實際應用中的能力得到了很大的增強,這些能力主要體現在對服務質量的保障上,例如安全,可靠性,事務等等。其中,WS-Addressing規范作為一個基礎,為其余的規范提供了重要的支持功能,因此有必要在了解其他規范前,首先深入了解WS-Addressing規范。本文將從概念上介紹該規范,并希望通過WSE3.0的實例來看看該規范是如何被實踐的。
理論篇
WS-Addressing 問題的引出
WS-Addressing EndpointReference
WS-Addressing Message Addressing Properties
實踐篇
Applied WSE 3.0 to Web Service Project
Use Web Service Thought Message --- SoapClient
鑒于SOA的概念并沒有為大家所廣泛理解,在適當的時候有必要寫一個SOA亂彈。
不過先請你記住以下幾句話:
SOA is an integration solution.
SOA is message oriented first.
The Key character of SOA is loosely coupled.
SOA is enriched by creating composite apps.
相關資源:
Web Services的設計與模式
Web Services Security系列
參考資料:WS-Addressing Specification