Multi-level transaction processing

Is it possible to have transactions across multiple systems?

For example:

Level 1 - provides web services (Deployed for weblog) layer 2 - .NET interface (for deployment in IIS)

Can we make a transaction or rollback for multiple calls to web services initiated with .NET?

If so, can someone point me to some resource or document? And is there any special requirement for each of the layers to correspond to participation in transactions?

+7
source share
3 answers

Yes it is possible. WCF allows you to use web services that use the WS-Atomic Transaction standard if you have System.Transactions.TransactionScope available in your .NET client (for example, Silverlight does not have this).

There is a great example in CodeProject that shows how to create and use transactional web services in .NET using TransactionScope .

+1
source

casperOne mentioning TransactionScope is a great solution if it is available in your scenario. I fell in love with the simplicity and power that he brought to the table.

However, I note that you have a Java tag and are referred to by Weblogic as the web service layer, so the TransactionScopeRequired property will have that will be implemented through WS-AT (web services transaction) or a similar transcription protocol.

See here: http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/cjta_wstran.html

0
source

It is definitely possible, but it may be more rude than you think. You need to manage to change the runtime environment of these web services to increase them so that they can use WS-AT headers. In addition, as with any distributed transaction environment, you are likely to incur an increase in productivity due to significant administrative overhead.

SOA-WORLD had great articles explaining Web services transactions and all the relevant OASIS standards. Here is one of the WS-Coordination , if I can find the rest, I will add them.

0
source

All Articles