Patent ID: 7509426
Filing Date: 2009-03-24
Classification: H04L,Y10S

Abstract:
1. A method for aborting web service transactions automatically comprising: receiving a request to generate a new global transaction object, from a first web service application program; generating a global transaction object requested by the first web service application program, and transmitting a coordination context to the web service application program; receiving a request from a participant containing a second web service application program performing a sub-transaction, to register the sub-transaction as a lower-layer transaction of the global transaction; generating a sub-transaction object corresponding to a sub-transaction whose registration is requested by the participant; receiving the state of a sub-transaction being performed in the participant, from the participant; based on the state of the sub-transaction being performed in the participant received from the participant, extracting global transaction identification information and sub-transaction identification information, retrieving a sub-transaction corresponding to the extracted sub-transaction identification information, and changing the state of the sub-transaction; based on the state changes of the sub-transactions, changing the state of the global transaction and determining whether to commit or abort the global transaction; wherein the coordination context includes identification information of the global transaction, the address of the sub-transaction registration service unit, and information that should be divided and owned by global transaction coordinators cooperating to coordinate the generated global transaction object.