//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.261 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.261. // #pragma warning disable 1591 namespace SEILoader.SIMPB { using System; using System.Web.Services; using System.Diagnostics; using System.Web.Services.Protocols; using System.ComponentModel; using System.Xml.Serialization; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="TokenSoap", Namespace="http://bancafideuram.it/WSNAC/Token")] public partial class Token : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback getTokenOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public Token() { this.Url = global::SEILoader.Properties.Settings.Default.URL_Token; 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; } } /// public event getTokenCompletedEventHandler getTokenCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bancafideuram.it/WSNAC/Token/getToken", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] public TokenRes getToken([System.Xml.Serialization.XmlArrayAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] InfoClient[] infoClient) { object[] results = this.Invoke("getToken", new object[] { infoClient}); return ((TokenRes)(results[0])); } /// public void getTokenAsync(InfoClient[] infoClient) { this.getTokenAsync(infoClient, null); } /// public void getTokenAsync(InfoClient[] infoClient, object userState) { if ((this.getTokenOperationCompleted == null)) { this.getTokenOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetTokenOperationCompleted); } this.InvokeAsync("getToken", new object[] { infoClient}, this.getTokenOperationCompleted, userState); } private void OngetTokenOperationCompleted(object arg) { if ((this.getTokenCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.getTokenCompleted(this, new getTokenCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// 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; } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] public partial class InfoClient { private string codiceApplicazioneField; private int versioneDatabaseSIMPBField; private string codiceReteField; /// public string codiceApplicazione { get { return this.codiceApplicazioneField; } set { this.codiceApplicazioneField = value; } } /// public int versioneDatabaseSIMPB { get { return this.versioneDatabaseSIMPBField; } set { this.versioneDatabaseSIMPBField = value; } } /// public string codiceRete { get { return this.codiceReteField; } set { this.codiceReteField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] public partial class Errore { private int codiceErroreField; private int livelloDiSeveritaField; private string messaggioPerUtenteFinaleField; private string descrizioneInternaField; private string stackTraceField; private string codiceReteField; /// public int codiceErrore { get { return this.codiceErroreField; } set { this.codiceErroreField = value; } } /// public int livelloDiSeverita { get { return this.livelloDiSeveritaField; } set { this.livelloDiSeveritaField = value; } } /// public string messaggioPerUtenteFinale { get { return this.messaggioPerUtenteFinaleField; } set { this.messaggioPerUtenteFinaleField = value; } } /// public string descrizioneInterna { get { return this.descrizioneInternaField; } set { this.descrizioneInternaField = value; } } /// public string stackTrace { get { return this.stackTraceField; } set { this.stackTraceField = value; } } /// public string codiceRete { get { return this.codiceReteField; } set { this.codiceReteField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] public partial class InfoServer { private bool sistemaInAggiornamentoField; private int versioneDatabaseSIMPBField; private string codiceApplicazioneField; private Errore[] errorsField; /// public bool sistemaInAggiornamento { get { return this.sistemaInAggiornamentoField; } set { this.sistemaInAggiornamentoField = value; } } /// public int versioneDatabaseSIMPB { get { return this.versioneDatabaseSIMPBField; } set { this.versioneDatabaseSIMPBField = value; } } /// public string codiceApplicazione { get { return this.codiceApplicazioneField; } set { this.codiceApplicazioneField = value; } } /// public Errore[] errors { get { return this.errorsField; } set { this.errorsField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] public partial class SingleToken { private string codiceReteField; private int versioneDataBaseField; /// public string codiceRete { get { return this.codiceReteField; } set { this.codiceReteField = value; } } /// public int versioneDataBase { get { return this.versioneDataBaseField; } set { this.versioneDataBaseField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://bancafideuram.it/WSNAC/Token")] public partial class TokenRes { private SingleToken[] allTokenField; private InfoServer infoField; /// public SingleToken[] allToken { get { return this.allTokenField; } set { this.allTokenField = value; } } /// public InfoServer info { get { return this.infoField; } set { this.infoField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] public delegate void getTokenCompletedEventHandler(object sender, getTokenCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class getTokenCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal getTokenCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public TokenRes Result { get { this.RaiseExceptionIfNecessary(); return ((TokenRes)(this.results[0])); } } } } #pragma warning restore 1591