//------------------------------------------------------------------------------
//
// 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.Adeguatezza {
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="AdeguatezzaSoap", Namespace="http://bancafideuram.it/WSSEI/Adeguatezza")]
public partial class Adeguatezza : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback CensisciPotenzialeOperationCompleted;
private System.Threading.SendOrPostCallback SimulazioneOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
///
public Adeguatezza() {
this.Url = global::SEILoader.Properties.Settings.Default.SEILoader_Adeguatezza_Adeguatezza;
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 CensisciPotenzialeCompletedEventHandler CensisciPotenzialeCompleted;
///
public event SimulazioneCompletedEventHandler SimulazioneCompleted;
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bancafideuram.it/WSSEI/Adeguatezza/CensisciPotenziale", RequestNamespace="http://bancafideuram.it/WSSEI/Adeguatezza", ResponseNamespace="http://bancafideuram.it/WSSEI/Adeguatezza", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public CensimentoPotenzialeRes CensisciPotenziale(ChiavePotenziale chiavePotenziale, InfoClient infoClient) {
object[] results = this.Invoke("CensisciPotenziale", new object[] {
chiavePotenziale,
infoClient});
return ((CensimentoPotenzialeRes)(results[0]));
}
///
public void CensisciPotenzialeAsync(ChiavePotenziale chiavePotenziale, InfoClient infoClient) {
this.CensisciPotenzialeAsync(chiavePotenziale, infoClient, null);
}
///
public void CensisciPotenzialeAsync(ChiavePotenziale chiavePotenziale, InfoClient infoClient, object userState) {
if ((this.CensisciPotenzialeOperationCompleted == null)) {
this.CensisciPotenzialeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCensisciPotenzialeOperationCompleted);
}
this.InvokeAsync("CensisciPotenziale", new object[] {
chiavePotenziale,
infoClient}, this.CensisciPotenzialeOperationCompleted, userState);
}
private void OnCensisciPotenzialeOperationCompleted(object arg) {
if ((this.CensisciPotenzialeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CensisciPotenzialeCompleted(this, new CensisciPotenzialeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bancafideuram.it/WSSEI/Adeguatezza/Simulazione", RequestNamespace="http://bancafideuram.it/WSSEI/Adeguatezza", ResponseNamespace="http://bancafideuram.it/WSSEI/Adeguatezza", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public SimulazioneRes Simulazione(TipoDettaglioContratto[] ContrattiInput, ChiaveCliente chiaveCliente, InfoClient infoClient) {
object[] results = this.Invoke("Simulazione", new object[] {
ContrattiInput,
chiaveCliente,
infoClient});
return ((SimulazioneRes)(results[0]));
}
///
public void SimulazioneAsync(TipoDettaglioContratto[] ContrattiInput, ChiaveCliente chiaveCliente, InfoClient infoClient) {
this.SimulazioneAsync(ContrattiInput, chiaveCliente, infoClient, null);
}
///
public void SimulazioneAsync(TipoDettaglioContratto[] ContrattiInput, ChiaveCliente chiaveCliente, InfoClient infoClient, object userState) {
if ((this.SimulazioneOperationCompleted == null)) {
this.SimulazioneOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSimulazioneOperationCompleted);
}
this.InvokeAsync("Simulazione", new object[] {
ContrattiInput,
chiaveCliente,
infoClient}, this.SimulazioneOperationCompleted, userState);
}
private void OnSimulazioneOperationCompleted(object arg) {
if ((this.SimulazioneCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SimulazioneCompleted(this, new SimulazioneCompletedEventArgs(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/WSSEI/Adeguatezza")]
public partial class ChiavePotenziale {
private string codiceAgenteField;
private string codiceFiscaleField;
private string nomeField;
private string cognomeField;
private string dataNascitaField;
private string sessoField;
///
public string CodiceAgente {
get {
return this.codiceAgenteField;
}
set {
this.codiceAgenteField = value;
}
}
///
public string CodiceFiscale {
get {
return this.codiceFiscaleField;
}
set {
this.codiceFiscaleField = value;
}
}
///
public string Nome {
get {
return this.nomeField;
}
set {
this.nomeField = value;
}
}
///
public string Cognome {
get {
return this.cognomeField;
}
set {
this.cognomeField = value;
}
}
///
public string DataNascita {
get {
return this.dataNascitaField;
}
set {
this.dataNascitaField = value;
}
}
///
public string Sesso {
get {
return this.sessoField;
}
set {
this.sessoField = 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/WSSEI/Adeguatezza")]
public partial class ValoriSimulazione {
private string codiceContrattoField;
private string codiceSottoProdottoField;
private string codiceTitoloField;
private string codiceISINField;
private double vARInizialeField;
private double vARProspetticoField;
private double vARSottoProdottoField;
private double vARContrattoField;
private double consistenzaInizialeField;
private double consistenzaProspetticaField;
private string flagAdeguatezzaPerVARField;
private string flagAdeguatezzaPerConcentrazioneField;
private string flagAdeguatezzaField;
private string flagModuloRiduzioneTutelaField;
private string flagProdottoConsulenzaField;
private string uRLPDFField;
///
public string CodiceContratto {
get {
return this.codiceContrattoField;
}
set {
this.codiceContrattoField = value;
}
}
///
public string CodiceSottoProdotto {
get {
return this.codiceSottoProdottoField;
}
set {
this.codiceSottoProdottoField = value;
}
}
///
public string CodiceTitolo {
get {
return this.codiceTitoloField;
}
set {
this.codiceTitoloField = value;
}
}
///
public string CodiceISIN {
get {
return this.codiceISINField;
}
set {
this.codiceISINField = value;
}
}
///
public double VARIniziale {
get {
return this.vARInizialeField;
}
set {
this.vARInizialeField = value;
}
}
///
public double VARProspettico {
get {
return this.vARProspetticoField;
}
set {
this.vARProspetticoField = value;
}
}
///
public double VARSottoProdotto {
get {
return this.vARSottoProdottoField;
}
set {
this.vARSottoProdottoField = value;
}
}
///
public double VARContratto {
get {
return this.vARContrattoField;
}
set {
this.vARContrattoField = value;
}
}
///
public double ConsistenzaIniziale {
get {
return this.consistenzaInizialeField;
}
set {
this.consistenzaInizialeField = value;
}
}
///
public double ConsistenzaProspettica {
get {
return this.consistenzaProspetticaField;
}
set {
this.consistenzaProspetticaField = value;
}
}
///
public string FlagAdeguatezzaPerVAR {
get {
return this.flagAdeguatezzaPerVARField;
}
set {
this.flagAdeguatezzaPerVARField = value;
}
}
///
public string FlagAdeguatezzaPerConcentrazione {
get {
return this.flagAdeguatezzaPerConcentrazioneField;
}
set {
this.flagAdeguatezzaPerConcentrazioneField = value;
}
}
///
public string FlagAdeguatezza {
get {
return this.flagAdeguatezzaField;
}
set {
this.flagAdeguatezzaField = value;
}
}
///
public string FlagModuloRiduzioneTutela {
get {
return this.flagModuloRiduzioneTutelaField;
}
set {
this.flagModuloRiduzioneTutelaField = value;
}
}
///
public string FlagProdottoConsulenza {
get {
return this.flagProdottoConsulenzaField;
}
set {
this.flagProdottoConsulenzaField = value;
}
}
///
public string URLPDF {
get {
return this.uRLPDFField;
}
set {
this.uRLPDFField = 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/WSSEI/Adeguatezza")]
public partial class SimulazioneRes {
private ValoriSimulazione[] valoriSimulazioneField;
private InfoServer infoField;
///
public ValoriSimulazione[] ValoriSimulazione {
get {
return this.valoriSimulazioneField;
}
set {
this.valoriSimulazioneField = value;
}
}
///
public InfoServer info {
get {
return this.infoField;
}
set {
this.infoField = 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/WSSEI/Adeguatezza")]
public partial class InfoServer {
private bool sistemaInAggiornamentoField;
private int versioneDBField;
private string codiceApplicazioneField;
private Errore[] errorsField;
///
public bool SistemaInAggiornamento {
get {
return this.sistemaInAggiornamentoField;
}
set {
this.sistemaInAggiornamentoField = value;
}
}
///
public int VersioneDB {
get {
return this.versioneDBField;
}
set {
this.versioneDBField = 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/WSSEI/Adeguatezza")]
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/WSSEI/Adeguatezza")]
public partial class ChiaveCliente {
private string codiceAgenteField;
private string codiceFiscaleField;
private string codiceMandatoField;
private string codiceAgenteRealeField;
private string nomeAgenteRealeField;
private string cognomeAgenteRealeField;
///
public string CodiceAgente {
get {
return this.codiceAgenteField;
}
set {
this.codiceAgenteField = value;
}
}
///
public string CodiceFiscale {
get {
return this.codiceFiscaleField;
}
set {
this.codiceFiscaleField = value;
}
}
///
public string CodiceMandato {
get {
return this.codiceMandatoField;
}
set {
this.codiceMandatoField = value;
}
}
///
public string CodiceAgenteReale {
get {
return this.codiceAgenteRealeField;
}
set {
this.codiceAgenteRealeField = value;
}
}
///
public string NomeAgenteReale {
get {
return this.nomeAgenteRealeField;
}
set {
this.nomeAgenteRealeField = value;
}
}
///
public string CognomeAgenteReale {
get {
return this.cognomeAgenteRealeField;
}
set {
this.cognomeAgenteRealeField = 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/WSSEI/Adeguatezza")]
public partial class TipoDettaglioContratto {
private string codiceContrattoField;
private string tipologiaContrattoField;
private string codiceProdottoField;
private string codiceSottoProdottoField;
private string descrizioneSottoProdottoField;
private string tipoProdottoField;
private string codiceISINField;
private string codiceISINProxyField;
private string codiceTitoloField;
private string codiceTipoAssetField;
private string contoField;
private string custodiaGaranziaField;
private string flagPCTField;
private int codiceTipoOperazioneField;
private string descrizioneTipoOperazioneField;
private double valoreCTVField;
private double valorePluriField;
private double quantitaOValoreNominaleField;
private string codiceDivisaField;
private string flagCoveredWarrantField;
///
public string CodiceContratto {
get {
return this.codiceContrattoField;
}
set {
this.codiceContrattoField = value;
}
}
///
public string TipologiaContratto {
get {
return this.tipologiaContrattoField;
}
set {
this.tipologiaContrattoField = value;
}
}
///
public string CodiceProdotto {
get {
return this.codiceProdottoField;
}
set {
this.codiceProdottoField = value;
}
}
///
public string CodiceSottoProdotto {
get {
return this.codiceSottoProdottoField;
}
set {
this.codiceSottoProdottoField = value;
}
}
///
public string DescrizioneSottoProdotto {
get {
return this.descrizioneSottoProdottoField;
}
set {
this.descrizioneSottoProdottoField = value;
}
}
///
public string TipoProdotto {
get {
return this.tipoProdottoField;
}
set {
this.tipoProdottoField = value;
}
}
///
public string CodiceISIN {
get {
return this.codiceISINField;
}
set {
this.codiceISINField = value;
}
}
///
public string CodiceISINProxy {
get {
return this.codiceISINProxyField;
}
set {
this.codiceISINProxyField = value;
}
}
///
public string CodiceTitolo {
get {
return this.codiceTitoloField;
}
set {
this.codiceTitoloField = value;
}
}
///
public string CodiceTipoAsset {
get {
return this.codiceTipoAssetField;
}
set {
this.codiceTipoAssetField = value;
}
}
///
public string Conto {
get {
return this.contoField;
}
set {
this.contoField = value;
}
}
///
public string CustodiaGaranzia {
get {
return this.custodiaGaranziaField;
}
set {
this.custodiaGaranziaField = value;
}
}
///
public string FlagPCT {
get {
return this.flagPCTField;
}
set {
this.flagPCTField = value;
}
}
///
public int CodiceTipoOperazione {
get {
return this.codiceTipoOperazioneField;
}
set {
this.codiceTipoOperazioneField = value;
}
}
///
public string DescrizioneTipoOperazione {
get {
return this.descrizioneTipoOperazioneField;
}
set {
this.descrizioneTipoOperazioneField = value;
}
}
///
public double ValoreCTV {
get {
return this.valoreCTVField;
}
set {
this.valoreCTVField = value;
}
}
///
public double ValorePluri {
get {
return this.valorePluriField;
}
set {
this.valorePluriField = value;
}
}
///
public double QuantitaOValoreNominale {
get {
return this.quantitaOValoreNominaleField;
}
set {
this.quantitaOValoreNominaleField = value;
}
}
///
public string CodiceDivisa {
get {
return this.codiceDivisaField;
}
set {
this.codiceDivisaField = value;
}
}
///
public string FlagCoveredWarrant {
get {
return this.flagCoveredWarrantField;
}
set {
this.flagCoveredWarrantField = 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/WSSEI/Adeguatezza")]
public partial class CensimentoPotenzialeRes {
private bool esitoOperazioneField;
private InfoServer infoField;
///
public bool EsitoOperazione {
get {
return this.esitoOperazioneField;
}
set {
this.esitoOperazioneField = value;
}
}
///
public InfoServer Info {
get {
return this.infoField;
}
set {
this.infoField = 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/WSSEI/Adeguatezza")]
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.Web.Services", "4.0.30319.1")]
public delegate void CensisciPotenzialeCompletedEventHandler(object sender, CensisciPotenzialeCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CensisciPotenzialeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CensisciPotenzialeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public CensimentoPotenzialeRes Result {
get {
this.RaiseExceptionIfNecessary();
return ((CensimentoPotenzialeRes)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
public delegate void SimulazioneCompletedEventHandler(object sender, SimulazioneCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class SimulazioneCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal SimulazioneCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public SimulazioneRes Result {
get {
this.RaiseExceptionIfNecessary();
return ((SimulazioneRes)(this.results[0]));
}
}
}
}
#pragma warning restore 1591