InfoQ

News

WS-Context becomes an OASIS standard

Posted by Mark Little on Apr 11, 2007 04:22 PM

Community
SOA
Topics
Web Services
Tags
Standardization
The OASIS WS-Context specification has been approved as an OASIS standard, with no votes against it. The committee has been working on WS-Context under the WS-CAF umbrella of specifications, which also includes the WS-CoordinationFramework and WS-TransactionManagement specifications. Although WS-Context is unique in what it defines, there is overlap with the latter two specifications and what is going on in the WS-TX committee, which is backed by IBM and Microsoft (and started years after WS-CAF). Therefore, it is unlikely that any other standards will come out of the WS-CAF group.

There has been a lot said about WS-Context over the years, most recently at the W3C workshop on Web of Services and in the majority it has drawn positive comments. In summary, WS-Context defines a basic (extensible) context structure that can be associated with an abstract activity: the lifetime of the activity is the lifetime of the context. The activity can then be used to model a session: all interactions on a session-oriented service in the scope of an activity will be uniquely and unambiguously tied to that activity through the context. Importantly, the context (and hence session) is not tied to the endpoint reference of the service: the same service can be addressed by multiple clients or services in the scope of different sessions concurrently. The session concept is therefore loosely coupled with respect to communication channels and service endpoints: the session may be used in conjunction with a service for a short period or even shared across multiple services. Late binding also means that protocols may use WS-Context to support either ephemeral or long-lived sessions associated with a fixed service endpoint definition as appropriate within an application.

Although there may appear to be overlaps with WS-Addressing, the two are more complimentary than competitive. Think of the possible relationship like URIs and cookies in the traditional Web. If used together and used right, loosely coupled, scalable stateful and stateless interactions in Web Services are possible. If used incorrectly, or ignored then closely coupled, brittle systems can result. Whether WS-Context has a big impact on the evolving Web Services architecture remains to be seen. The fact that IBM and Microsoft were not involved will certainly hinder the take-up and influence.

Related Sponsor

SOAsocial is a social networking site where you can track socially relevant activities in the SOA community and also participate in polls and other applications.

1 comment

Reply

seocontest2008 by seocontest2008 seocontest2008 Posted Feb 26, 2008 5:05 AM
  1. Back to top

    seocontest2008

    Feb 26, 2008 5:05 AM by seocontest2008 seocontest2008

    Hello,
    Thanks for this article.
    Can I put this article to my site?
    Thanks again.

Exclusive Content

Diary of a Fence Sitting SOA Geek

In this presentation, Mark Little explains the history of SOAP/WSDL/WS-*-based web services and RESTful HTTP and highlights how the two approaches might converge into a single solution.

Flex for XML and JSON

Platforms need interoperability. In this article Flex interoperability with JSON and XML is explored including direct mapping to chart and grid components.

Measuring Agile in the Enterprise: 5 Success Factors for Large-Scale Agile Adoption

Michael Mah analyzes the development process in 5 companies: 2 Agile (one of them BMC) and 3 classic. He presents the factors which contributed to the success of BMC's Agile adoption.

Tom Preston-Werner on Powerset, GitHub, Ruby and Erlang

In this interview filmed at RubyFringe 2008, Tom Preston-Werner talks about how both Powerset and GitHub use Ruby and Erlang, as well as tools like Fuzed, god, and more.

David Laribee on Alt.NET and its Mission

David Laribee discusses the purpose of ALT.NET, its mission and future.

Discover RailsKits and Stop Writing Redundant Code

Ruby on Rails has become a popular Ruby framework for creating web applications in recent years. An aspect of creating a web application is the need to repeatedly create the same base functionality.

A Formal Performance Tuning Methodology: Wait-Based Tuning

Steven Haines talks about tackling web application performance tuning by proposing a method called wait-based tuning.

Shaw and Fowler About Forging a New Alliance

Shaw and Fowler talk about the need for a new relationship between the business department and the IT department. Studies have shown that projects mostly fail due to miscommunication between the two.