Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Compensating Transactions in Web Services

Hello,

We need to have a transaction that cross multiple web services and are looking for some good patterns. We are using C# and SQL Server 2000. There are currently seven web services that are exposed by various locations. We will need any where from 2 to 4 of those web services inside of the transaction at a time. The functionality will not be used that much but must be implemented for reporting and auditing reasons. Any and all help is much appreciated.

Thanks!

One more anon
Wednesday, June 02, 2004


Have you considered using COM+? I've not tried having multiple objects participate in a transaction with web services, but the link below from MSDN shows how to do it.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcontransactionsupportinaspnetwebservices.asp

Mark Hoffman
Monday, June 07, 2004

I guess eventually it should be done through WS-Coordination ( http://msdn.microsoft.com/webservices/understanding/advancedwebservices/default.aspx?pull=/library/en-us/dnglobspec/html/wscoor.asp ) and WS-Atomictransaction ( http://msdn.microsoft.com/webservices/understanding/advancedwebservices/default.aspx?pull=/library/en-us/dnglobspec/html/wsat.asp ), but I do not know if their exist an implementation of these already (this is very reminiscent of the CORBA days, don't you think: loads of specifications in whitepapers that went without implementations).

Just me (Sir to you)
Tuesday, June 08, 2004

*  Recent Topics

*  Fog Creek Home