WS-ReliableMessaging
   HOME

TheInfoList



OR:

WS-ReliableMessaging describes a protocol that allows
SOAP Soap is a salt of a fatty acid used in a variety of cleansing and lubricating products. In a domestic setting, soaps are surfactants usually used for washing, bathing, and other types of housekeeping. In industrial settings, soaps are use ...
messages to be reliably delivered between distributed applications in the presence of software component, system, or network failures. The original specification was written by
BEA Systems BEA Systems, Inc. was a company that specialized in enterprise infrastructure software products which was wholly acquired by Oracle Corporation on April 29, 2008. History BEA began as a software company, founded in 1995 and headquartered in ...
,
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
, IBM, and
Tibco TIBCO Software Inc. is an American business intelligence software company founded in 1997 in Palo Alto, California. It has headquarters in Palo Alto, California, and offices in North America, Europe, Asia, the Middle East, Africa and South A ...
and in March, 2003 and subsequently refined over the next two years. The February, 2005 version was submitted to the
OASIS In ecology, an oasis (; ) is a fertile area of a desert or semi-desert environment'ksar''with its surrounding feeding source, the palm grove, within a relational and circulatory nomadic system.” The location of oases has been of critical imp ...
Web Services Reliable Exchange (WS-RX) Technical Committee in June of that year. The resultin
WS-ReliableMessaging 1.1
was approved as an OASIS Standard on June 14, 2007, and v1.2 was approved on February 2, 2009. Prior to WS-ReliableMessaging,
OASIS In ecology, an oasis (; ) is a fertile area of a desert or semi-desert environment'ksar''with its surrounding feeding source, the palm grove, within a relational and circulatory nomadic system.” The location of oases has been of critical imp ...
produced a competing standard (
WS-Reliability WS-Reliability was a SOAP-based OASIS specification that fulfills reliable messaging requirements critical to some applications of Web Services. WS-Reliability was superseded by WS-ReliableMessaging. SOAP over HTTP is not sufficient when an appli ...
) that was supported by a coalition of vendors; namely
Fujitsu is a Japanese multinational information and communications technology equipment and services corporation, established in 1935 and headquartered in Tokyo. Fujitsu is the world's sixth-largest IT services provider by annual revenue, and the la ...
,
Hitachi () is a Japanese multinational corporation, multinational Conglomerate (company), conglomerate corporation headquartered in Chiyoda, Tokyo, Japan. It is the parent company of the Hitachi Group (''Hitachi Gurūpu'') and had formed part of the Ni ...
,
NEC is a Japanese multinational corporation, multinational information technology and electronics corporation, headquartered in Minato, Tokyo. The company was known as the Nippon Electric Company, Limited, before rebranding in 1983 as NEC. It prov ...
,
Oracle Corporation Oracle Corporation is an American multinational computer technology corporation headquartered in Austin, Texas. In 2020, Oracle was the third-largest software company in the world by revenue and market capitalization. The company sells da ...
,
Progress Software Progress Software Corporation (Progress) is an American public company that offers software for creating and deploying business applications. Headquartered in Burlington, Massachusetts with offices in 16 countries, the company posted revenues ...
, and
Sun Microsystems Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, the ...
. Most of these vendors now also support the WS-ReliableMessaging specification.


Reliable Messaging Model

An Application Source (AS) wishes to reliably send messages to an Application Destination (AD) over an unreliable infrastructure. To accomplish this, they make use of a Reliable Messaging Source (RMS) and a Reliable Messaging Destination (RMD). The AS sends a message to the RMS. The RMS uses the WS-ReliableMessaging (WS-RM) protocol to transmit the message to the RMD. The RMD delivers the message to the AD. If the RMS cannot transmit the message to the RMD for some reason, it must raise an exception or otherwise indicate to the AS that the message was not transmitted. The AS and RMS may be implemented within the same process space or they may be separate components. Similarly, the AD and RMD may exist within the same process space or they may be separate components. The important thing to keep in mind is that the WS-RM specification only deals with the contents and behavior of messages as they appear "on the wire". How messages are sent from the AS to the RMS, how they are delivered from the RMD to the AD, whether messages are persisted on-disk or held in memory, etc.; none of these considerations are part of the WS-RM specification. The WS-RM protocol defines and supports a number of Delivery Assurances. These are: ;AtLeastOnce: Each message will be delivered to the AD at least once. If a message cannot be delivered, an error must be raised by the RMS and/or the RMD. Messages may be delivered to the AD more than once (i.e. the AD may get duplicate messages). ;AtMostOnce: Each message will be delivered to the AD at most once. Messages might not be delivered to the AD, but the AD will never get duplicate messages. ;ExactlyOnce: Each message will be delivered to the AD exactly once. If a message cannot be delivered, an error must be raised by the RMS and/or the RMD. The AD will never get duplicate messages. ;InOrder: Messages will be delivered from the RMD to the AD in the order that they are sent from the AS to the RMS. This assurance can be combined with any of the above assurances.


Composable Architecture

WS-ReliableMessaging uses the extensibility model of
SOAP Soap is a salt of a fatty acid used in a variety of cleansing and lubricating products. In a domestic setting, soaps are surfactants usually used for washing, bathing, and other types of housekeeping. In industrial settings, soaps are use ...
and
WSDL The Web Services Description Language (WSDL ) is an XML-based interface description language that is used for describing the functionality offered by a web service. The acronym is also used for any specific WSDL description of a web service (also ...
. WS-ReliableMessaging does not define all the features required for a complete messaging solution. WS-ReliableMessaging is a building block that is used in conjunction with other Web Services specifications and application-specific protocols to build a complete messaging solution.


Criticism

Thi
article
attempts to make the case that reliability is not needed at the message level, but required at the business level.


History


WS-ReliableMessaging 200303
authored by BEA, IBM, Microsoft, and Tibco.
WS-ReliableMessaging 200403
authored by BEA, IBM, Microsoft, and Tibco.
WS-ReliableMessaging 200502
authored by BEA, IBM, Microsoft, and Tibco. This version of the specification has been implemented by a number of vendors and open source projects. It is sometimes referred to as "WS-ReliableMessaging 1.0" or "WS-RM 1.0". **This specification and its companio
WS-RM Policy 200502
were submitted to the
OASIS In ecology, an oasis (; ) is a fertile area of a desert or semi-desert environment'ksar''with its surrounding feeding source, the palm grove, within a relational and circulatory nomadic system.” The location of oases has been of critical imp ...
br>Web Services Reliable Exchange (WS-RX) Technical Committee
for standardization in June, 2005.
WS-ReliableMessaging 1.1
is the product of the above-mentioned WS-RX TC. It is accompanied by th
WS-RM Policy 1.1
an
WS-MakeConnection 1.0
specifications. **All three specifications were approved as OASIS Standards on June 14, 2007.
WS-ReliableMessaging 1.2
The version replaces the references to pre-standard versions of WS-Policy with references to the WS-Policy W3C Recommendation
WS-Policy 1.5
and fixes some minor errors. It is accompanied by th
WS-RM Policy 1.2
an
WS-MakeConnection 1.1
specifications. **All three specifications were approved as OASIS Standards on February 2, 2009.


WS-ReliableMessaging Implementations


Apache Sandesha2
*
Apache CXF Apache CXF is an open source software project developing a Web services framework. It originated as the combination of Celtix developed by IONA Technologies and XFire developed by a team hosted at Codehaus in 2006. These two projects were combin ...
* WebLogic Server *
IBM WebSphere IBM WebSphere refers to a brand of proprietary computer software products in the genre of enterprise software known as "application and integration middleware". These software products are used by end-users to create and integrate applications wi ...
*
GlassFish GlassFish is an open-source Jakarta EE platform application server project started by Sun Microsystems, then sponsored by Oracle Corporation, and now living at the Eclipse Foundation and supported by Payara, Oracle and Red Hat. The supported v ...
*
gSOAP gSOAP is a C and C++ software development toolkit for SOAP/XML web services and generic XML data bindings. Given a set of C/C++ type declarations, the compiler-based gSOAP tools generate serialization routines in source code for efficient XML s ...
*
SAP NetWeaver SAP NetWeaver is a software stack for many of SAP SE's applications. The SAP NetWeaver Application Server, sometimes referred to as WebAS, is the runtime environment for the SAP applications and all of the mySAP Business Suite runs on SAP WebAS: s ...
*Microsoft
Windows Communication Foundation The Windows Communication Foundation (WCF), previously known as Indigo, is a free and open-source runtime and a set of APIs in the .NET Framework for building connected, service-oriented applications. .NET Core 1.0, released 2016, did not supp ...


See also

* Web Services *
WS-Reliability WS-Reliability was a SOAP-based OASIS specification that fulfills reliable messaging requirements critical to some applications of Web Services. WS-Reliability was superseded by WS-ReliableMessaging. SOAP over HTTP is not sufficient when an appli ...


References

{{Reflist


External links


WS-ReliableMessaging 1.1 OASIS StandardWS-ReliableMessaging 200502An Introduction to Web Services Reliable Messaging
ReliableMessaging