Click here to Skip to main content
15,892,059 members
Articles / Containers / Virtual Machine

BizTalk The Practical Course Code

Rate me:
Please Sign up or sign in to vote.
4.78/5 (7 votes)
24 Apr 2009CPOL27 min read 50.6K   743   24  
Code Sample and a sample chapter from Book BizTalk The Practical Course
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1433
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System.Xml.Serialization;
using System.Xml;
using PractBTS.ErrorCoolection.HelperClasses;

// 
// This source code was auto-generated by xsd, Version=2.0.50727.42.
// 


/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.MoustafaRefaat.com/PractBTS/ErrorCollection/ErrorMessage")]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.MoustafaRefaat.com/PractBTS/ErrorCollection/ErrorMessage", IsNullable = false)]
public partial class ErrorMessage {
    
    private ErrorMessageError errorField = new ErrorMessageError();
    
    private object messageField ;//= new object();
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public ErrorMessageError Error {
        get {
            return this.errorField;
        }
        set {
            this.errorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public object Message {
        get {
            return this.messageField;
        }
        set {
            this.messageField = value;
        }
    }
    public XmlDocument ToXML()
    {
        XmlDocument doc = new XmlDocument();
        ObjectXMLSerializer<ErrorMessage> ser = new ObjectXMLSerializer<ErrorMessage>();
        doc.LoadXml(ser.ToXMLString(this));
        return doc;

    }
    public override string ToString()
    {
        ObjectXMLSerializer<ErrorMessage> ser = new ObjectXMLSerializer<ErrorMessage>();
        return ser.ToXMLString(this);
    }

}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.MoustafaRefaat.com/PractBTS/ErrorCollection/ErrorMessage")]
public partial class ErrorMessageError {
    
    private string descriptionField;
    
    private string errorTypeField;
    
    private string routingFailureReportIDField;
    
    private string outboundTransportLocationField;
    
    private string sendPortNameField;
    
    private string inboundTransportLocationField;
    
    private string receivePortNameField;
    
    private string messageTypeField;
    
    private int failureCategoryField;
    
    private bool failureCategoryFieldSpecified;
    
    private string failureCodeField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ErrorType {
        get {
            return this.errorTypeField;
        }
        set {
            this.errorTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoutingFailureReportID {
        get {
            return this.routingFailureReportIDField;
        }
        set {
            this.routingFailureReportIDField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string OutboundTransportLocation {
        get {
            return this.outboundTransportLocationField;
        }
        set {
            this.outboundTransportLocationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SendPortName {
        get {
            return this.sendPortNameField;
        }
        set {
            this.sendPortNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string InboundTransportLocation {
        get {
            return this.inboundTransportLocationField;
        }
        set {
            this.inboundTransportLocationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ReceivePortName {
        get {
            return this.receivePortNameField;
        }
        set {
            this.receivePortNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string MessageType {
        get {
            return this.messageTypeField;
        }
        set {
            this.messageTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int FailureCategory {
        get {
            return this.failureCategoryField;
        }
        set {
            this.failureCategoryField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool FailureCategorySpecified {
        get {
            return this.failureCategoryFieldSpecified;
        }
        set {
            this.failureCategoryFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FailureCode {
        get {
            return this.failureCodeField;
        }
        set {
            this.failureCodeField = value;
        }
                
    }
}

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
Architect
Canada Canada
As a well-established IT leader with a passion for architecture, design, coding, refactoring, and development, I possess 20+ years’ success spearheading large teams to deliver the end-to-end development of 30+ innovative software solutions on time and under budget on a US and international level.

Throughout my career, I have made it my priority to utilize current technologies and new techniques to develop elegant, creative technical solutions across all project phases. Comfortable in collaborative and independently-driven roles, I am a forward-thinking leader with refined analytical and critical thinking skills, and I can adapt and revise my strategies to meet evolving priorities, shifting needs, and emergent issues. As a dynamic leader with experience as Technical Lead and Senior Manager, as well as on the Board of Directors, I have led numerous teams to create a new employees experience with Workday, roadmap for people systems (JDA WFMR, Kronos, Infor, Workday, and monitoring with Splunk), and architecture for 20+ projects at Loblaw. Furthermore, I have spearheaded As a well-established IT leader with a passion for architecture, design, coding, refactoring, and development, I possess 20+ years’ success spearheading large teams to deliver the end-to-end development of 30+ innovative software solutions on time and under budget on a US and international level.

Throughout my career, I have made it my priority to utilize current technologies and new techniques to develop elegant, creative technical solutions across all project phases. Comfortable in collaborative and independently-driven roles, I am a forward-thinking leader with refined analytical and critical thinking skills, and I can adapt and revise my strategies to meet evolving priorities, shifting needs, and emergent issues. As a dynamic leader with experience as Technical Lead and Senior Manager, as well as on the Board of Directors, I have led numerous teams to create a new employees experience with Workday

Comments and Discussions