//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1026
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.1026.
// 
#pragma warning disable 1591

namespace WS2Client.ETrace {
    using System;
    using System.Web.Services;
    using System.Diagnostics;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="ETraceServiceSoap", Namespace="http://market.e-trace.biz/wse")]
    public partial class ETraceService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback CheckRQResultOperationCompleted;
        
        private System.Threading.SendOrPostCallback RunAsynchrousOperationCompleted;
        
        private System.Threading.SendOrPostCallback RunSynchrousOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetActualDateTimeOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetChangesOverviewOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public ETraceService() {
            this.Url = "http://localhost/wse/ETraceService.asmx";
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event CheckRQResultCompletedEventHandler CheckRQResultCompleted;
        
        /// <remarks/>
        public event RunAsynchrousCompletedEventHandler RunAsynchrousCompleted;
        
        /// <remarks/>
        public event RunSynchrousCompletedEventHandler RunSynchrousCompleted;
        
        /// <remarks/>
        public event GetActualDateTimeCompletedEventHandler GetActualDateTimeCompleted;
        
        /// <remarks/>
        public event GetChangesOverviewCompletedEventHandler GetChangesOverviewCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://market.e-trace.biz/wse/CheckRQResult", RequestNamespace="http://market.e-trace.biz/wse", ResponseNamespace="http://market.e-trace.biz/wse", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Output", IsNullable=true)]
        public OutParams CheckRQResult(int RQID) {
            object[] results = this.Invoke("CheckRQResult", new object[] {
                        RQID});
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginCheckRQResult(int RQID, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("CheckRQResult", new object[] {
                        RQID}, callback, asyncState);
        }
        
        /// <remarks/>
        public OutParams EndCheckRQResult(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public void CheckRQResultAsync(int RQID) {
            this.CheckRQResultAsync(RQID, null);
        }
        
        /// <remarks/>
        public void CheckRQResultAsync(int RQID, object userState) {
            if ((this.CheckRQResultOperationCompleted == null)) {
                this.CheckRQResultOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckRQResultOperationCompleted);
            }
            this.InvokeAsync("CheckRQResult", new object[] {
                        RQID}, this.CheckRQResultOperationCompleted, userState);
        }
        
        private void OnCheckRQResultOperationCompleted(object arg) {
            if ((this.CheckRQResultCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CheckRQResultCompleted(this, new CheckRQResultCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://market.e-trace.biz/wse/RunAsynchrous", RequestNamespace="http://market.e-trace.biz/wse", ResponseNamespace="http://market.e-trace.biz/wse", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Output", IsNullable=true)]
        public OutParams RunAsynchrous([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] InParams Input) {
            object[] results = this.Invoke("RunAsynchrous", new object[] {
                        Input});
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRunAsynchrous(InParams Input, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RunAsynchrous", new object[] {
                        Input}, callback, asyncState);
        }
        
        /// <remarks/>
        public OutParams EndRunAsynchrous(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public void RunAsynchrousAsync(InParams Input) {
            this.RunAsynchrousAsync(Input, null);
        }
        
        /// <remarks/>
        public void RunAsynchrousAsync(InParams Input, object userState) {
            if ((this.RunAsynchrousOperationCompleted == null)) {
                this.RunAsynchrousOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRunAsynchrousOperationCompleted);
            }
            this.InvokeAsync("RunAsynchrous", new object[] {
                        Input}, this.RunAsynchrousOperationCompleted, userState);
        }
        
        private void OnRunAsynchrousOperationCompleted(object arg) {
            if ((this.RunAsynchrousCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RunAsynchrousCompleted(this, new RunAsynchrousCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://market.e-trace.biz/wse/RunSynchrous", RequestNamespace="http://market.e-trace.biz/wse", ResponseNamespace="http://market.e-trace.biz/wse", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Output", IsNullable=true)]
        public OutParams RunSynchrous([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] InParams Input) {
            object[] results = this.Invoke("RunSynchrous", new object[] {
                        Input});
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginRunSynchrous(InParams Input, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("RunSynchrous", new object[] {
                        Input}, callback, asyncState);
        }
        
        /// <remarks/>
        public OutParams EndRunSynchrous(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public void RunSynchrousAsync(InParams Input) {
            this.RunSynchrousAsync(Input, null);
        }
        
        /// <remarks/>
        public void RunSynchrousAsync(InParams Input, object userState) {
            if ((this.RunSynchrousOperationCompleted == null)) {
                this.RunSynchrousOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRunSynchrousOperationCompleted);
            }
            this.InvokeAsync("RunSynchrous", new object[] {
                        Input}, this.RunSynchrousOperationCompleted, userState);
        }
        
        private void OnRunSynchrousOperationCompleted(object arg) {
            if ((this.RunSynchrousCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RunSynchrousCompleted(this, new RunSynchrousCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://market.e-trace.biz/wse/GetActualDateTime", RequestNamespace="http://market.e-trace.biz/wse", ResponseNamespace="http://market.e-trace.biz/wse", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Output", IsNullable=true)]
        public OutParams GetActualDateTime() {
            object[] results = this.Invoke("GetActualDateTime", new object[0]);
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetActualDateTime(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetActualDateTime", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public OutParams EndGetActualDateTime(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public void GetActualDateTimeAsync() {
            this.GetActualDateTimeAsync(null);
        }
        
        /// <remarks/>
        public void GetActualDateTimeAsync(object userState) {
            if ((this.GetActualDateTimeOperationCompleted == null)) {
                this.GetActualDateTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetActualDateTimeOperationCompleted);
            }
            this.InvokeAsync("GetActualDateTime", new object[0], this.GetActualDateTimeOperationCompleted, userState);
        }
        
        private void OnGetActualDateTimeOperationCompleted(object arg) {
            if ((this.GetActualDateTimeCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetActualDateTimeCompleted(this, new GetActualDateTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://market.e-trace.biz/wse/GetChangesOverview", RequestNamespace="http://market.e-trace.biz/wse", ResponseNamespace="http://market.e-trace.biz/wse", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Output", IsNullable=true)]
        public OutParams GetChangesOverview(System.DateTime DateTimeParam) {
            object[] results = this.Invoke("GetChangesOverview", new object[] {
                        DateTimeParam});
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetChangesOverview(System.DateTime DateTimeParam, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetChangesOverview", new object[] {
                        DateTimeParam}, callback, asyncState);
        }
        
        /// <remarks/>
        public OutParams EndGetChangesOverview(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((OutParams)(results[0]));
        }
        
        /// <remarks/>
        public void GetChangesOverviewAsync(System.DateTime DateTimeParam) {
            this.GetChangesOverviewAsync(DateTimeParam, null);
        }
        
        /// <remarks/>
        public void GetChangesOverviewAsync(System.DateTime DateTimeParam, object userState) {
            if ((this.GetChangesOverviewOperationCompleted == null)) {
                this.GetChangesOverviewOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChangesOverviewOperationCompleted);
            }
            this.InvokeAsync("GetChangesOverview", new object[] {
                        DateTimeParam}, this.GetChangesOverviewOperationCompleted, userState);
        }
        
        private void OnGetChangesOverviewOperationCompleted(object arg) {
            if ((this.GetChangesOverviewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetChangesOverviewCompleted(this, new GetChangesOverviewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class OutParams {
        
        private int rQIDField;
        
        private System.Xml.XmlNode resultField;
        
        private RequestState rQStateField;
        
        /// <remarks/>
        public int RQID {
            get {
                return this.rQIDField;
            }
            set {
                this.rQIDField = value;
            }
        }
        
        /// <remarks/>
        public System.Xml.XmlNode Result {
            get {
                return this.resultField;
            }
            set {
                this.resultField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public RequestState RQState {
            get {
                return this.rQStateField;
            }
            set {
                this.rQStateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class RequestState {
        
        private string codeField;
        
        private string descriptionField;
        
        /// <remarks/>
        public string Code {
            get {
                return this.codeField;
            }
            set {
                this.codeField = value;
            }
        }
        
        /// <remarks/>
        public string Description {
            get {
                return this.descriptionField;
            }
            set {
                this.descriptionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class XmlStringParam {
        
        private string nameField;
        
        private string valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public string Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class XmlParam {
        
        private System.Xml.XmlElement anyField;
        
        private string nameField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAnyElementAttribute()]
        public System.Xml.XmlElement Any {
            get {
                return this.anyField;
            }
            set {
                this.anyField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class StringParam {
        
        private string nameField;
        
        private string valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public string Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class IntParam {
        
        private string nameField;
        
        private int valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public int Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class DecimalParam {
        
        private string nameField;
        
        private decimal valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public decimal Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class DateTimeParam {
        
        private string nameField;
        
        private System.DateTime valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public System.DateTime Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class DateParam {
        
        private string nameField;
        
        private System.DateTime valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute(DataType="date")]
        public System.DateTime Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class BooleanParam {
        
        private string nameField;
        
        private bool valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public bool Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class ParametersCollection {
        
        private BooleanParam[] booleanParamField;
        
        private DateParam[] dateParamField;
        
        private DateTimeParam[] dateTimeParamField;
        
        private DecimalParam[] decimalParamField;
        
        private IntParam[] intParamField;
        
        private StringParam[] stringParamField;
        
        private XmlParam[] xmlParamField;
        
        private XmlStringParam[] xmlStringParamField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("BooleanParam", IsNullable=true)]
        public BooleanParam[] BooleanParam {
            get {
                return this.booleanParamField;
            }
            set {
                this.booleanParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("DateParam", IsNullable=true)]
        public DateParam[] DateParam {
            get {
                return this.dateParamField;
            }
            set {
                this.dateParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("DateTimeParam", IsNullable=true)]
        public DateTimeParam[] DateTimeParam {
            get {
                return this.dateTimeParamField;
            }
            set {
                this.dateTimeParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("DecimalParam", IsNullable=true)]
        public DecimalParam[] DecimalParam {
            get {
                return this.decimalParamField;
            }
            set {
                this.decimalParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("IntParam", IsNullable=true)]
        public IntParam[] IntParam {
            get {
                return this.intParamField;
            }
            set {
                this.intParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("StringParam", IsNullable=true)]
        public StringParam[] StringParam {
            get {
                return this.stringParamField;
            }
            set {
                this.stringParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("XmlParam", IsNullable=true)]
        public XmlParam[] XmlParam {
            get {
                return this.xmlParamField;
            }
            set {
                this.xmlParamField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("XmlStringParam", IsNullable=true)]
        public XmlStringParam[] XmlStringParam {
            get {
                return this.xmlStringParamField;
            }
            set {
                this.xmlStringParamField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class SAPMessageHeader {
        
        private string subsCodeField;
        
        private string taskField;
        
        private string requestIDField;
        
        private string schemaVersionField;
        
        private long confirmationField;
        
        private System.DateTime creationDateTimeField;
        
        /// <remarks/>
        public string SubsCode {
            get {
                return this.subsCodeField;
            }
            set {
                this.subsCodeField = value;
            }
        }
        
        /// <remarks/>
        public string Task {
            get {
                return this.taskField;
            }
            set {
                this.taskField = value;
            }
        }
        
        /// <remarks/>
        public string RequestID {
            get {
                return this.requestIDField;
            }
            set {
                this.requestIDField = value;
            }
        }
        
        /// <remarks/>
        public string SchemaVersion {
            get {
                return this.schemaVersionField;
            }
            set {
                this.schemaVersionField = value;
            }
        }
        
        /// <remarks/>
        public long Confirmation {
            get {
                return this.confirmationField;
            }
            set {
                this.confirmationField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime CreationDateTime {
            get {
                return this.creationDateTimeField;
            }
            set {
                this.creationDateTimeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1026")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://market.e-trace.biz/wse")]
    public partial class InParams {
        
        private string fIDField;
        
        private SAPMessageHeader messageHeaderField;
        
        private ParametersCollection parametersField;
        
        /// <remarks/>
        public string FID {
            get {
                return this.fIDField;
            }
            set {
                this.fIDField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public SAPMessageHeader MessageHeader {
            get {
                return this.messageHeaderField;
            }
            set {
                this.messageHeaderField = value;
            }
        }
        
        /// <remarks/>
        public ParametersCollection Parameters {
            get {
                return this.parametersField;
            }
            set {
                this.parametersField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void CheckRQResultCompletedEventHandler(object sender, CheckRQResultCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CheckRQResultCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CheckRQResultCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public OutParams Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((OutParams)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void RunAsynchrousCompletedEventHandler(object sender, RunAsynchrousCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RunAsynchrousCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RunAsynchrousCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public OutParams Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((OutParams)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void RunSynchrousCompletedEventHandler(object sender, RunSynchrousCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RunSynchrousCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RunSynchrousCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public OutParams Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((OutParams)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void GetActualDateTimeCompletedEventHandler(object sender, GetActualDateTimeCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetActualDateTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetActualDateTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public OutParams Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((OutParams)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void GetChangesOverviewCompletedEventHandler(object sender, GetChangesOverviewCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetChangesOverviewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetChangesOverviewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public OutParams Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((OutParams)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591