EventService.cs
//------------------------------------------------------------------------------
// zzautogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// zz/autogenerated>
//------------------------------------------------------------------------------

//
// This source code was auto-generated by wsdl, Version=1.1.4322.2032.
//
namespace EventWebService {
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;


/// zzremarks/>
[System.Web.Services.WebServiceBindingAttribute(Name="EventServiceSoap", Namespace="http://cocreate.com/EventWebService/")]
public abstract class EventService : System.Web.Services.WebService {

/// zzremarks/>
[System.Web.Services.WebMethodAttribute()]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://cocreate.com/EventWebService/HandleEvents", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
public abstract void HandleEvents([System.Xml.Serialization.XmlElementAttribute(Namespace="http://cocreate.com/EventWebService/")] TransactionEvent transactionEvent);
}

/// zzremarks/>
[Serializable]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://cocreate.com/EventWebService/")]
public class TransactionEvent {

/// zzremarks/>
public string UserName;

/// zzremarks/>
public System.DateTime EventDate;

/// zzremarks/>
public EventRecord[] Events;

/// zzremarks/>
public string[] NotificationEmails;
}

/// zzremarks/>
[Serializable]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://cocreate.com/EventWebService/")]
public class EventRecord {

/// zzremarks/>
public string AttributeName;

/// zzremarks/>
public string Creator;

/// zzremarks/>
public string Description;

/// zzremarks/>
public string ItemId;

/// zzremarks/>
public string NewValue;

/// zzremarks/>
public string OldValue;

/// zzremarks/>
public System.DateTime RecordDate;

/// zzremarks/>
public string RelatedItemId;

/// zzremarks/>
public EventType Type;

/// zzremarks/>
public string TypeDescription;
}

/// zzremarks/>
[Serializable]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://cocreate.com/EventWebService/")]
public enum EventType {

/// zzremarks/>
GeneralChange,

/// zzremarks/>
NewElement,

/// zzremarks/>
AddedNewFile,

/// zzremarks/>
SystemAttributeChange,

/// zzremarks/>
UserAttributeChange,

/// zzremarks/>
AttributeChange,

/// zzremarks/>
ChildRemoved,

/// zzremarks/>
ChildAdded,

/// zzremarks/>
ItemAddedAsChild,

/// zzremarks/>
NewRevision,

/// zzremarks/>
Overwrite,

/// zzremarks/>
PacketSent,

/// zzremarks/>
AddedNote,

/// zzremarks/>
StateChange,

/// zzremarks/>
OwnerChange,

/// zzremarks/>
Deleted,
}
}
Was this helpful?