Re: Business Objects / COM+ / MTS



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?
--
Mehran Nikoo
MCSD.NET, MCITP, MCSD

"Michael Nemtsev" wrote:

Hello Chris,

I recomend to look at WS-Transaction. They have been working on such
issues.

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
not
cease to be insipid." (c) Friedrich Nietzsche





.



Relevant Pages

  • RE: how to use Begintransaction ?
    ... If you are using web services and want transactional data, ... it> makes a call to myService - a webservice - passing in a serialized objDay>. ... Problem is if 1 of the 7 days fails to write, there's no> rollback functionality. ... But my transaction object exists only in the webservice, and that> webservice is killed and recalled every day of the 7 days of the week. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Business Objects / COM+ / MTS
    ... web services using Microsoft and .Net. ... wsUpdateSavings- this webservice will update the amount of money ... Given the requirements and the 2 webservices, how would this transaction ... would call wsUpdateChecking & wsUpdateSavings to manage the transaction? ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Business Objects / COM+ / MTS
    ... Assuming that your transaction only involves database transactions (and not ... MSMQ transactions for instance) it doesn't really matter how many assemblies ... wsUpdateChecking- this webservice will update the amount ... this would require a call to wsUpdateChecking and a call to ...
    (microsoft.public.dotnet.distributed_apps)
  • Would ya tie it up with wy-er. . .just to keep the show on the road? Hey true blue,. . . Im aaasking
    ... Once again the keywords being "a COMMITTED transaction is RE-TRIED"! ... and Transaction Managers like hotTIP and MTS/DTC) replied "Too bloody right ... isn't using RTR for Store-and-forward and isn't using DECdtm and I promise ... I have seen and heard all the Web Services religion discussions. ...
    (comp.os.vms)
  • Re: publishing Hello World to local IIS
    ... "Decorate" means to beautify to me and I was at a loss as to how that worked with web services. ... The "WebMethodAttribute" I mentioned is used to indicate that a certain class method of the webservice class should be exposed as "webmethod". ... Public Function HelloWorld() As String ... Public Class Service1 ...
    (microsoft.public.dotnet.framework.webservices)