Re: Business Objects / COM+ / MTS
- From: "Chris Fink" <chris.fink@xxxxxxxxx>
- Date: Wed, 5 Apr 2006 11:18:42 -0400
Thanks for your feedback.
I should state that I don't want to assume that this problem only involves
web services. The wsUpdateChecking(amount) and wsUpdateSavings(amount)
could be two seperate assemblies made available through .net remoting (tcp).
The architecture would be as follows (the same as before but with assemblies
rather than web services):
1. Assembly1 contains a method called wsUpdateChecking(amount).
2. Assembly2 contains a method called wsUpdateSavings(amount).
If this were the architecture, could I make them transactional?
"Mehran Nikoo" <MehranNikoo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A5A17545-D223-457F-AE20-20A186516230@xxxxxxxxxxxxxxxx
But WS-Transactions is not yet implemented, is it?issues.
--
Mehran Nikoo
MCSD.NET, MCITP, MCSD
"Michael Nemtsev" wrote:
Hello Chris,
I recomend to look at WS-Transaction. They have been working on such
not
CF> I have a general question on how to implement transactions across
CF> multiple web services using Microsoft and .Net.
CF>
CF> Example: I have two webservices (both are simplified for sake of
CF> example).
CF>
CF> 1. wsUpdateChecking(amount) - this webservice will update the amount
CF> of
CF> money in your checking account.
CF> 2. wsUpdateSavings(amount) - this webservice will update the amount
CF> of money
CF> in your savings account.
CF> The requirement is for a client (webservice consumer) to take $10
CF> from checking and put that $10 into savings. Given the current
CF> design, this would require a call to wsUpdateChecking and a call to
CF> wsUpdateSavings. If either call failed, the entire transaction
CF> should be rolled back.
CF>
CF> My questions are:
CF> 1. Given the requirements and the 2 webservices, how would this
CF> transaction
CF> be accomplished? Does COM+ / MTS offer the ability to manage both
CF> these
CF> objects transactionally when they are two distinct, seperate
CF> services?
CF> ....or would the correct solution involve creating a third
CF> webservice that would call wsUpdateChecking & wsUpdateSavings to
CF> manage the transaction?
CF>
CF> Any help is appreciated.
CF>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do
cease to be insipid." (c) Friedrich Nietzsche
.
- Follow-Ups:
- Re: Business Objects / COM+ / MTS
- From: Mehran Nikoo
- Re: Business Objects / COM+ / MTS
- References:
- Business Objects / COM+ / MTS
- From: Chris Fink
- Re: Business Objects / COM+ / MTS
- From: Michael Nemtsev
- Business Objects / COM+ / MTS
- Prev by Date: Re: Business Objects / COM+ / MTS
- Next by Date: Re: Asynchronous Pattern for COM+ Serviced Components
- Previous by thread: Re: Business Objects / COM+ / MTS
- Next by thread: Re: Business Objects / COM+ / MTS
- Index(es):
Relevant Pages
|