Click here to Skip to main content
15,895,799 members
Articles / Web Development / IIS

Transactional Web Services with WS-AtomicTransaction

Rate me:
Please Sign up or sign in to vote.
3.91/5 (12 votes)
12 Jun 2008CPOL6 min read 137.4K   491   48  
Explains a simple way of using WS-AtomicTransaction to create distributed transactions across Web services
using System;
using System.Xml.Serialization;

namespace DataContainers
{
	[XmlRoot]
	public class Shippers
	{
        protected int _ShipperId;
        protected string _CompanyName;

		[XmlElement]
        public virtual int ShipperId 
		{
            get { return _ShipperId; }
            set { _ShipperId = value; }
		}

        [XmlElement]
        public virtual string CompanyName
        {
            get { return _CompanyName; }
            set { _CompanyName = value; }
        }

		public Shippers()
		{
            _ShipperId = 0;
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Microsoft
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions