473,770 Members | 2,065 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Distributed transactions in Webservices.

Hello!

Could you help me?

How can I implement distributed transactions in Webservices, if I have
Framework 1.1, WSE 2.0?

Could you give me a few samples?

Thanks.

Best regards, Basil.
Jan 17 '07 #1
2 1901
You need add in each WebMethod that must support transactions the following:

[WebMethod(Trans actionOption=Tr ansactionOption .Required)]

"Basil" <ba*****@yandex .ruwrote in message
news:Ov******** *****@TK2MSFTNG P02.phx.gbl...
Hello!

Could you help me?

How can I implement distributed transactions in Webservices, if I have
Framework 1.1, WSE 2.0?

Could you give me a few samples?

Thanks.

Best regards, Basil.
Jan 17 '07 #2
Hello, Mariano!

It is not enough. I think that WebServices use special technologies to
support distributed transaction like WS-AtomicTransacti on.
Ex.: I have 2 WebServices. 1st WebService method calls 2nd webservice
method.
I need in case of error roll back changes which were made 1st and 2nd
webservice methods.

Could you give me an example of using WS-AtomicTransacti on. I use .NET
Framework 1.1 and WSE 2.0.

Thanks.

Best regards, Basil.

"Mariano Omar Rodriguez" <mr******@yahoo .comwrote in message
news:11******** *************** ***********@mic rosoft.com...
You need add in each WebMethod that must support transactions the
following:

[WebMethod(Trans actionOption=Tr ansactionOption .Required)]

"Basil" <ba*****@yandex .ruwrote in message
news:Ov******** *****@TK2MSFTNG P02.phx.gbl...
>Hello!

Could you help me?

How can I implement distributed transactions in Webservices, if I have
Framework 1.1, WSE 2.0?

Could you give me a few samples?

Thanks.

Best regards, Basil.

Jan 18 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8219
by: Eirik Tryggeseth | last post by:
During deployment of an application using distributed transactions managed under COM+ on an Oracle 9i RAC database, we encounter situations where the load balancing mechanisms in the RAC result in that the component context in the distributed transaction (in our case two different COM components) cannot hold onto the same ODBC connection. Or it may be that the database session is changed dynamically for the ODBC connection, so that...
7
2382
by: Richard Maher | last post by:
Hi, I am seeking the help of volunteers to test some software that I've developed which facilitates distributed two-phase commit transactions, encompassing any resource manager (e.g. SQL/Server or Oracle) controlled by Microsoft's Distributed Transaction Coordinator in a Windows2000 environment, with any resource manager under the control of DECdtm (e.g. Rdb (or Oracle via the XA Veneer)) in a VMS environment.
2
3047
by: chairleg | last post by:
Hi, I'm having a problem running a distributed transaction between two linked servers that both have multiple instances of SQL Server installed on them. This is the error message that I receive: "The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction. OLE DB error trace ."
2
2624
by: Rodrigo García | last post by:
Hi. The problem is a bit hard to explain. I have a ServicedComponent method which runs a distributed transaction consisting on a a MessageQueue reception and several database operations. That ServicedComponent method is called from a pool of threads which get blocked in the Receive method of the queue. At that moment there are as many open transactions in the DTC as the number of threads in the pool. After 60 seconds of inactivity the...
1
1199
by: Earl Orenthe | last post by:
Hello all, does anybody know whether IBM Websphere Information Integrator supports distributed transactions, that is - can you update multiple heterogenous databases in one update, or at least in one transaction...? Thanks in advance, Earl
8
4370
by: Don Riesbeck Jr. | last post by:
I have an C# EnterpriseService component that is part of an application I am developing that is responsible for writing data to an SQL Server. (it reads from a local DB (MSDE), then writes to a 'remote' DB (SQL Server 2k)...) On some machines I get the following exception: System.InvalidOperationException: An error occurred while enlisting in a distributed transaction. at...
3
27516
by: Ollie Riches | last post by:
"Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction." I am recieving the above error when attempt to access a remote sql server database 2000 (sp3a) from ADO.Net. The database is on a windows 2003 machine and the ado.net code (web services) are on another winsdows 2003 machine in the same domain. I have configure the DTC to allow transactions and followed the resolution in the...
3
3110
by: BLUE | last post by:
Only SQL Server 2005 or also DB2, Oracle and MySQL? Thanks, Luigi.
0
1605
by: Tim - Milwaukee | last post by:
Hello. One of our database developers is running into a problem when trying to get distributed transactions to work across linked servers. (SQL 2005 to SQL 2000). The specific error message is: "Msg 8501, Level 16, State 3, Procedure _Test2, Line 12 MSDTC on server 'MSDB02' is unavailable."
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10228
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10002
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9869
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8883
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3575
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.