Beispiel #1
0
 RecuperarTramites(Cliente_RecuperarTramite.consultarTramitesCreditoPorIdentificacion_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         Cliente_RecuperarTramite.Credito_RecuperarTramiteSolicitudesPortTypeClient cliente = new Cliente_RecuperarTramite.Credito_RecuperarTramiteSolicitudesPortTypeClient();
         cliente.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         cliente.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(cliente.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             return(cliente.consultarTramitesCreditoPorIdentificacion(input));
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 ValidarExistencia(Cliente_ValidarExistencia_WCF.validarexistencia_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         Cliente_ValidarExistencia_WCF.Cliente_validarexistenciaPortTypeClient cliente =
             new Cliente_ValidarExistencia_WCF.Cliente_validarexistenciaPortTypeClient();
         cliente.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         cliente.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(cliente.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             return(cliente.ValidarExistencia(input));
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public Bizagi.Proxy.Layer.Cobis.EnrutarTramiteCredito.Cobis_EnrutarTramite.enrutarTramiteCredito_Output EnrutarTramiteCredito(Cobis_EnrutarTramite.enrutarTramiteCredito_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         Cobis_EnrutarTramite.Credito_EnrutarTramiteCreditoPortTypeClient cliente = new Cobis_EnrutarTramite.Credito_EnrutarTramiteCreditoPortTypeClient();
         cliente.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         cliente.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(cliente.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             Bizagi.Proxy.Layer.Cobis.EnrutarTramiteCredito.Cobis_EnrutarTramite.EnrutarTramiteCreditoRsType EnrutarTramiteCreditoRs = new Cobis_EnrutarTramite.EnrutarTramiteCreditoRsType();
             var SomeResposne = cliente.enrutarTramiteCredito(input);
             return(SomeResposne);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public FirmaDocuementoClient.FirmarDocumentoRsType FirmarDocumento(FirmaDocuementoClient.firmarDocumento_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         FirmaDocuementoClient.PKI_FirmaDocumentoPortTypeClient ClientWs =
             new FirmaDocuementoClient.PKI_FirmaDocumentoPortTypeClient();
         ClientWs.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         ClientWs.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(ClientWs.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             var SomeResposne = ClientWs.firmarDocumento(input);
             return(SomeResposne.FirmarDocumentoRs);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public etapaEstacionType[] consultarCargaTrabajo(consultarCargaTrabajoPorEtapa_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         Credito_ConsultarCargaTrabajoPortTypeClient ClientWs =
             new Credito_ConsultarCargaTrabajoPortTypeClient();
         ClientWs.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         ClientWs.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(ClientWs.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             var SomeResposne = ClientWs.consultarCargaTrabajoPorEtapa(input);
             return(SomeResposne.ConsultarCargaTrabajoPorEtapaRs);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #6
0
 public asignarEstacionTramite_Output asignarEstacionTramite(asignarEstacionTramite_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         Credito_AsignarEstacionTramitePortTypeClient ClientWs =
             new Credito_AsignarEstacionTramitePortTypeClient();
         ClientWs.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         ClientWs.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(ClientWs.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             var SomeResposne = ClientWs.asignarEstacionTramite(input);
             return(SomeResposne);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #7
0
 public static Clinte_HubDocumental.migrarSolicitudReparto_Output GenerarMinuta(Clinte_HubDocumental.migrarSolicitudReparto_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         Clinte_HubDocumental.Credito_MigrarSolicitudRepartoPortTypeClient ClientWs =
             new Clinte_HubDocumental.Credito_MigrarSolicitudRepartoPortTypeClient();
         ClientWs.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         ClientWs.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(ClientWs.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             var SomeResponse = ClientWs.migrarSolicitudReparto(input);
             return(SomeResponse);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public CorreoSeguroClient.EnviarCorreoSeguroRsType EnviarCorreoSeguro(CorreoSeguroClient.enviarCorreoSeguro_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         CorreoSeguroClient.PKI_CorreoSeguroPortTypeClient ClientWs =
          new CorreoSeguroClient.PKI_CorreoSeguroPortTypeClient();
         ClientWs.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         ClientWs.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(ClientWs.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             var SomeResposne = ClientWs.enviarCorreoSeguro(input);
             return SomeResposne.EnviarCorreoSeguroRs;
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 RecuperarInfoBasicaPersonaNatural(ClientePersonaNaturalCliente.recuperarInfoBasica_Input input)
 {
     try
     {
         ProxyUtils.ByPassCertificate();
         ClientePersonaNaturalCliente.Common_MessageSetPortTypeClient cliente =
             new ClientePersonaNaturalCliente.Common_MessageSetPortTypeClient();
         cliente.ClientCredentials.UserName.UserName = ProxyUtils.GetServiceUser("UsrServices");
         cliente.ClientCredentials.UserName.Password = ProxyUtils.GetServicePwd("PwdServices");
         using (OperationContextScope scope = new OperationContextScope(cliente.InnerChannel))
         {
             OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] =
                 ProxyUtils.GetHttpRequestMessageProperty();
             var res = cliente.recuperarInfoBasica(input);
             return(res);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }