Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Web Services Resource Framework

From Wikipedia, the free encyclopedia
Family of specifications for web services
This articlemay contain excessive or inappropriate references toself-published sources. Please helpimprove it by removing references to unreliablesources where they are used inappropriately.(September 2011) (Learn how and when to remove this message)
For the radio station in Florida, seeWSRF (AM).

Web Services Resource Framework (WSRF) is a family ofOASIS-published specifications forweb services. Major contributors include the Globus Alliance andIBM.

Aweb service by itself is nominallystateless, i.e., it retains no data between invocations. This limits the things that can be done with web services,

Before WSRF, no standard in theWeb Services family of specifications explicitly defined how to deal with stateful interactions with remote resources. This does not mean that web services could not be stateful. Where required a web service could read from adatabase, or use session state by way of cookies or WS-Session.

WSRF provides a set of operations that web services can use to implement stateful interaction; web service clients communicate withresource services which allow data to be stored and retrieved. When clients talk to the web service they include the identifier of the specific resource that should be used inside the request, encapsulated within theWS-Addressing endpoint reference. This may be a simpleURI address, or it may be complex XML content that helps identify or even fully describe the specific resource in question.

Alongside the notion of an explicit resource reference comes a standardized set of web service operations to get/set resource properties. These can be used to read and perhaps write resource state, in a manner somewhat similar to having member variables of an object alongside its methods. The primary beneficiary of such a model are management tools, which can enumerate and view resources, even if they have no other knowledge of them. This is the basis forWSDM.

Issues with WSRF

[edit]

WSRF is not without controversy. Most fundamental is architectural: are distributed objects with state and operations the best way to represent remote resources? It is almost a port into XML of thedistributed objects pattern, of whichCORBA andDCOM are examples. A WSRF resource may be a stateful entity to which multiple clients have resource references and the WSRF specification itself does not deal with concerns such as isolation and availability, deferring to the composable nature of web service specifications to deal with these. Many WSRF stacks appear to avoid these concerns by being low-availability, mapping 1:1 from a WSRF resource reference to a local object instance, which in C++ and Java is usually not at all persistent (with the exception of those bound to a database through some persistence mechanism). There are, however, implementations of WSRF that support persistence, clustering and high-availability of resources (for example, inWebSphere Application Server).

With a distributed objects view of the network, WSRF is also at loggerheads with theREST model of the network, in which everything is a resource, but in which all actions are enabled through a limited and standardized set of operations. In some ways, the two models are closer than pureSOAP andREST, because they both have stateful resources at the far end. However, REST, as implemented onHTTP, assumes that theURL is all that is needed to address the resource – there is no need for the complexity of theWS-Addressing ReferenceParameters. The idea of managing the lifetime of remote content through renewable leasing comes in for particular criticism. The other issue with the architecture from the REST community is that callbacks/notifications, as described inWS-Notification, do not go through firewalls. This is why REST designs prefer polling, such as in RSS andAtom (standard) feeds. WSRF has done nothing to make SOAP more acceptable to the REST community.

The introduction of WSRF also caused splits in the WS-* world. It was first announced to the World at aGlobal Grid Forum event in February 2004, as a successor to theOpen Grid Services Infrastructure. Its limited compatibility with the mainstreamWS-I architecture created dissent from the UK grid community.[1] The Global Grid Forum ultimately isolated their dependencies on WSRF in aWSRF profile for theirOpen Grid Services Architecture. WSRF protocols were also used byWSDM as the means to interacts withmanageable resources described in WSDM. The WS-* world, however, was not united on a single standard for Web services management with Microsoft, Sun and others choosing to pursueWS-Management, with its dependency onWS-Transfer as the means to describe manageable resources.

Component specifications

[edit]
  • WS-Resource defines aWS-Resource as the composition of a resource and a Web service through which the resource can be accessed.
  • WS-ResourceProperties describes an interface to associate a set of typed values with a WS-Resource that may be read and manipulated in a standard way.
  • WS-ResourceLifetime describes an interface to manage the lifetime of a WS-Resource.
  • WS-BaseFaults describes an extensible mechanism for richSOAPFaults.
  • WS-ServiceGroup describes an interface for operating on collections of WS-Resources.

Also of relevance isWS-Notification which says how to push information to other web-services about what is going on.

Implementations

[edit]

Implementing the basic property get/set semantics of WSRF resources is relatively simple. The hardest problem is probably returning faults as WSRF Base Faults where the specification requires it, because SOAP stacks themselves prefer to raiseSOAPFault faults. Managing resource lifetimes is harder, but this is optional, as isWS-Notification, which is the hardest to test.

  • The Globus Toolkit version 4 contains Java and C implementations of WSRF; many other Globus tools have been rebuilt around WSRF. To note, Globus Toolkitretired in 2018.
  • WebSphere Application Server version 6.1 provides a WSRF environment which supports both simple and clustered, highly available WSRF endpoints.
  • TheApache Foundation have aMuse 2.0Archived 2006-10-13 at theWayback Machine project which is a Java-based implementation of the WSRF,WS-Notification, andWSDM specifications.
  • WSRF::LiteArchived 2007-11-12 at theWayback Machine is a perl-based implementation that makes exclusive use of theAddress element of the endpoint reference, thus making WS-Resources identifiable viaURIs. In addition, WSRF::Lite provides a mapping ofHTTP verbs to WSRF operations, making it possible to use WS-Resources in aREST architectural style.
  • WSRF.NET is a .NET based project about WSRF specs from a research team of the University of Virginia.
  • The latest version 6.0 ofUNICORE is built on a Java implementation of the WSRF 1.2 standard including WS-ResourceLifetime and a partial implementation of WS-Notification.

See also

[edit]

References

[edit]
  1. ^Malcolm Atkinson; David DeRoure; Alistair Dunlop; Geoffrey Fox; Peter Henderson; Tony Hey; Norman Paton; Steven Newhouse; Savas Parastatidis; Anne Trefethen; Paul Watson; Jim Webber (2004-07-31)."Web Service Grids: An Evolutionary Approach"(PDF). UK e-Science Technical Report Series. Archived fromthe original(PDF) on 2006-10-11.

External links

[edit]
Standards ofOASIS
Retrieved from "https://en.wikipedia.org/w/index.php?title=Web_Services_Resource_Framework&oldid=1268423668"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp