cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction Support

steel
Champ in-the-making
Champ in-the-making
I have been trying to find some resources on traction support in Web Services but my efforts have not been very fruitful.  I would like to wrap a transaction around a set of calls so that for example if I create a document then add a couple versions to it and then perform any other transformations on it, if any steps fail the entire set of operations would revert back. One way  is to keep track of the status of each and manually delete if something fails, but is there a smarter solution?

thanks.
6 REPLIES 6

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

The kind of transaction support you mention is not something we currently support in the web service API.  It's definitely something that will be on our list of things to look into, buts it isn't on the immediate web service road map.

Cheers,
Roy

steel
Champ in-the-making
Champ in-the-making
Hi,

The kind of transaction support you mention is not something we currently support in the web service API.  It's definitely something that will be on our list of things to look into, buts it isn't on the immediate web service road map.

Cheers,
Roy

Does the JCR-RMI api support this type of transaction? or any other distributed api?

thanks

davidc
Star Contributor
Star Contributor
Yes, the JCR-RMI should support this; although we don't provide this layer as part of our release bundle, so it's not tested thoroughly.

sergio
Champ in-the-making
Champ in-the-making
Hi all.

The same need for me. It would be very interesting and useful to provide Alfresco ws layer with the capabilities of encapsulating more than one ws calls into a single transaction.

For the moment, is there any way to wrap ws apis to and from jcr apis in order to manage transactions?

Any other ideas to implement a simple transaction system encapsulating ws into jcr transactions?

All the best,

Sergio

raju_myadam
Champ in-the-making
Champ in-the-making
I am also having a similar requirement. Did anyone able to resolve this issue?

senhce
Champ in-the-making
Champ in-the-making
Hi,

Does webservice API really support transaction? if not what would be the direction? Not sure if webscripts is the recommended API going forwards.

Thanks,
Senthil Balakrishnan