Abstract:
A method, apparatus and computer program for validating that a client's request has been routed to an appropriate server hosting a specific stateful web service instance in a system comprising a plurality of stateful web service instances. The specific stateful web service instance is one which has required state data for processing the client's request. A request is received for processing by a web service instance. Any identity data is extracted from the request. The identity data uniquely identifies the required state data and the identity of the target server that hosts that state data. It is then determined whether the target server identity matches that of the server that has received the client's request and responsive to a negative determination, a routing failure is reported.
Abstract:
The invention provides a mechanism for a transaction coordinator to indicate to a transaction participant that it supports a heuristic outcome, where a course of action has occurred which means that the transaction participant is unable to honor a transactional prior commitment to the transaction coordinator. The mechanism is such that a transaction participant that is incapable of communicating a heuristic outcome may ignore any such indication. A transaction participant may be incapable because it does not understand the concept of a heuristic outcome at all or because it does not have the ability to inform the transaction coordinator that a heuristic outcome has occurred.
Abstract:
A messaging system and method are provided to enable transactional work, done as a result of a recipient processing an asynchronous message, to be involved in the transaction under which message was sent. Involvement may be directly in the senders transaction or indirectly through a separate transaction which can be a subordinate to, a child of, or merged with the transaction under which message was sent. The message is delivered by calling an operation, a definition of which has been registered for the queue. If the message is added to a queue for subsequent delivery to a recipient, details of the transaction under which message was sent are added to the message. As a result the recipient can take appropriate action to ensure that any transactional work, it causes to happen, will be done directly or indirectly under the scope of the transactions under which message was sent.
Abstract:
A method, apparatus and computer program for validating that a client's request has been routed to an appropriate server hosting a specific stateful web service instance in a system comprising a plurality of stateful web service instances. The specific stateful web service instance is one which has required state data for processing the client's request. A request is received for processing by a web service instance. Any identity data is extracted from the request. The identity data uniquely identifies the required state data and the identity of the target server that hosts that state data. It is then determined whether the target server identity matches that of the server that has received the client's request and responsive to a negative determination, a routing failure is reported.