473,847 Members | 1,743 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 1903
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
8224
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
2391
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
3050
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
2629
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
1203
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
4374
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
27526
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
3118
by: BLUE | last post by:
Only SQL Server 2005 or also DB2, Oracle and MySQL? Thanks, Luigi.
0
1607
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
9886
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
9730
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10706
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
9482
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
5719
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4119
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3164
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.