From a7486aa07c8c1e1816ae5988205bd2ee89a53683 Mon Sep 17 00:00:00 2001 From: jnunez Date: Tue, 25 Sep 2018 22:57:43 +0000 Subject: [PATCH] git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C480 --- AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs | 5 +- AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs | 23 +- .../AYA.SlnSynor.WCF/SinortCatalogos.svc.cs | 1 + AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config | 11 +- .../AYA.SlnSynor/AYA.SlnSinort.csproj | 88 +- .../Controllers/LoginController.cs | 23 + AYA.SlnSynor/AYA.SlnSynor/Documento.cs | 582 ++ .../FileUploadHandler.ashx.cs | 2 +- ...nSinortModel.Entidades.BaseJson.datasource | 10 + ...ortModel.Entidades.EncuestaJSON.datasource | 10 + ...rtModel.Entidades.SolicitudJSON.datasource | 10 + ...ortModel.Entidades.UExternoJSON.datasource | 10 + ...SinortModel.Sinort.Convocatoria.datasource | 10 + ...tModel.Sinort.GotitasNormativas.datasource | 10 + .../System.Data.DataSet.datasource | 10 + .../System.Data.DataTable.datasource | 10 + .../DataSources/System.Xml.XmlNode.datasource | 10 + .../Properties/Settings.Designer.cs | 36 + .../AYA.SlnSynor/Properties/Settings.settings | 9 + .../ServicioSinortWCF/Reference.cs | 686 +- .../ServicioSinortWCF/Reference.svcmap | 18 +- .../ServicioSinortWCF/Sinort.wsdl | 357 - .../{Sinort.disco => Sinort1.disco} | 2 +- .../ServicioSinortWCF/Sinort1.wsdl | 1079 +++ .../ServicioSinortWCF/Sinort1.xsd | 122 - .../ServicioSinortWCF/Sinort4.xsd | 244 - .../{Sinort3.xsd => Sinort6.xsd} | 0 .../ServicioSinortWCF/Sinort61.xsd | 775 +++ .../{Sinort2.xsd => Sinort62.xsd} | 2 +- .../ServicioSinortWCF/Sinort63.xsd | 226 + .../{Sinort.xsd => Sinort64.xsd} | 957 ++- .../{Sinort5.xsd => Sinort65.xsd} | 6 + .../ServicioSinortWCF/configuration.svcinfo | 2 +- .../ServicioSinortWCF/configuration91.svcinfo | 6 +- .../AYA.SlnSynor/Sinort-Scripts/Global.js | 21 +- .../Sinort-Scripts/GotitasNormativas.js | 22 +- .../Sinort-Scripts/GotitasPendientes.js | 12 +- .../AYA.SlnSynor/Sinort-Scripts/Login.js | 9 +- .../FichaTecnica.js | 86 +- .../Solicitud.js | 14 +- .../Views/Home/GotitasNormativas.cshtml | 11 +- .../FichaTecnica.cshtml | 28 +- AYA.SlnSynor/AYA.SlnSynor/Views/Web.config | 5 +- .../Web References/Vision2020/Reference.cs | 4255 ++++++++++++ .../Web References/Vision2020/Reference.map | 7 + .../Web References/Vision2020/wsapi.disco | 6 + .../Web References/Vision2020/wsapi.wsdl | 5880 +++++++++++++++++ AYA.SlnSynor/AYA.SlnSynor/Web.config | 38 +- .../Sinort/DocumentosAdjuntosDAL.cs | 24 + .../AYA.SlnSynorModel/Entidades/Json.cs | 1 + 50 files changed, 14475 insertions(+), 1296 deletions(-) create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Documento.cs create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.BaseJson.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.EncuestaJSON.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.SolicitudJSON.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.UExternoJSON.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.Convocatoria.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.GotitasNormativas.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataSet.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataTable.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Xml.XmlNode.datasource create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.Designer.cs create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.settings delete mode 100644 AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl rename AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/{Sinort.disco => Sinort1.disco} (55%) create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.wsdl delete mode 100644 AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.xsd delete mode 100644 AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort4.xsd rename AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/{Sinort3.xsd => Sinort6.xsd} (100%) create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort61.xsd rename AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/{Sinort2.xsd => Sinort62.xsd} (83%) create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort63.xsd rename AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/{Sinort.xsd => Sinort64.xsd} (66%) rename AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/{Sinort5.xsd => Sinort65.xsd} (68%) create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Web References/Vision2020/Reference.cs create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Web References/Vision2020/Reference.map create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Web References/Vision2020/wsapi.disco create mode 100644 AYA.SlnSynor/AYA.SlnSynor/Web References/Vision2020/wsapi.wsdl diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs index 6344f487c..846f8c973 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs @@ -46,7 +46,10 @@ namespace AYA.SlnSinort.WCF //Para la ficha tecnica - # region Normativa y Reglamentacion Tecnica + #region Normativa y Reglamentacion Tecnica + [OperationContract] + int VerificarNombre(AdjuntosJSON model); + [OperationContract] FichaTecnicaJSON GuardarFichaTecnica(FichaTecnicaJSON model); diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs index c3bce6430..d9c101662 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs @@ -223,7 +223,22 @@ namespace AYA.SlnSinort.WCF } #endregion - # region Ficha Tecnica + #region Ficha Tecnica + public int VerificarNombre(AdjuntosJSON model) + { + int respuesta = 0; + try + { + respuesta = new DocumentosAdjuntosDAL().VerificarNombre(model); + + } + catch (Exception ex) + { + log.Error(ex); + } + return respuesta; + } + public FichaTecnicaJSON ObtenerSitios(FichaTecnicaJSON model) { FichaTecnicaJSON registros = new FichaTecnicaJSON(); @@ -716,7 +731,7 @@ namespace AYA.SlnSinort.WCF { catalogo.codigo = participantes.UsuarioSistema; usuario = UsuarioDAL.BuscarUsuario(catalogo); - body = plantilla.Body.Replace("$Mensaje", model.Mensaje).Replace("|", "
"); + body = plantilla.Body.Replace("$Mensaje", model.Mensaje).Replace("$Link", "Aquí ").Replace("|", "
"); correo.CUERPO = body; email = usuario.EmailUsuario; correo.DESTINATARIOS = email; @@ -758,7 +773,7 @@ namespace AYA.SlnSinort.WCF catalogo.codigo = model.UserName; usuario = UsuarioDAL.BuscarUsuario(catalogo); - body = plantilla.Body.Replace("$NombreDocumentoTecnico", model.FichaTecnica.DescripcionDocumentoTecnico).Replace("|", "
"); + body = plantilla.Body.Replace("$NombreDocumentoTecnico", model.FichaTecnica.DescripcionDocumentoTecnico).Replace("$Link", "Aquí ").Replace("|", "
"); correo.CUERPO = body; email = usuario.EmailUsuario; correo.DESTINATARIOS = email; @@ -822,7 +837,7 @@ namespace AYA.SlnSinort.WCF .Replace("$Usuario", model.Solicitud.UsuarioSistema).Replace("$Link", "Aquí ").Replace("|", "
"); correo.CUERPO = body; email = usuario.EmailUsuario; - correo.DESTINATARIOS = email; + correo.DESTINATARIOS = "jnunez@atesacr.com"; respuesta = respuestaAyA.enviarCorreo(correo); } diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs index edb3b5b08..bed0a0122 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs @@ -553,6 +553,7 @@ namespace AYA.SlnSinort.WCF { DataSet ds = new DataSet(); + ServiciosUsuariosWCF.ServicioUsuariosClient respuestaAyA = new ServiciosUsuariosWCF.ServicioUsuariosClient(); ds = respuestaAyA.obtenerUsuariosActiveDirectory(); diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config index 130a2f1eb..430b1476a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config @@ -8,7 +8,10 @@ - + + + + @@ -96,7 +99,7 @@ - + - - + + diff --git a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj index e1d3910f0..16f6a7c2f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj +++ b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj @@ -237,6 +237,9 @@ + + ASPXCodeBehind + FileUploadHandler.ashx @@ -247,6 +250,11 @@ + + True + True + Settings.settings + dtsFichaTecnicaFinal.xsd Component @@ -263,6 +271,11 @@ + + True + True + Reference.map + @@ -7224,10 +7237,23 @@ + + + + + + + + + dtsFichaTecnicaFinal.xsd + + SettingsSingleFileGenerator + Settings.Designer.cs + Designer MSDataSetGenerator @@ -7397,13 +7423,13 @@ - WCF Proxy Generator Reference.cs + @@ -7456,6 +7482,30 @@ PreserveNewest + + MSDiscoCodeGenerator + Reference.cs + + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + Designer @@ -7517,25 +7567,6 @@ - - - Designer - - - Designer - - - Designer - - - Designer - - - Designer - - - Designer - @@ -7552,6 +7583,7 @@ + @@ -7584,6 +7616,22 @@ + + + + + + Dynamic + Web References\Vision2020\ + http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx + + + + + Settings + AYA_SlnSinort_Vision2020_wsapi + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs index c2ce18d7b..492a74a8f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs @@ -28,6 +28,7 @@ namespace AYA.SlnSinort.Controllers.Login return View(); } + [AllowAnonymous] [HttpPost] public JsonResult ObtenerUsuarioAD(LoginJSON model) { @@ -45,7 +46,29 @@ namespace AYA.SlnSinort.Controllers.Login } return Json(model, JsonRequestBehavior.AllowGet); } + [AllowAnonymous] + [HttpPost] + public JsonResult VerificarUsuarioBD(CatalogosPostJSON model) + { + try + { + ServicioSinortWCF.SinortClient respuesta = new ServicioSinortWCF.SinortClient(); + model = respuesta.VerificarUsuarioBD(model); + + + } + catch (Exception ex) + { + + } + return Json(model, JsonRequestBehavior.AllowGet); + } + + + + + public void InicioSesion(AtesaJSON model) { try diff --git a/AYA.SlnSynor/AYA.SlnSynor/Documento.cs b/AYA.SlnSynor/AYA.SlnSynor/Documento.cs new file mode 100644 index 000000000..302ee72b2 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Documento.cs @@ -0,0 +1,582 @@ +//======================================================================= +// Instituto Costarricense de Acueductos y Alcantarillados. - 2012 +// Sistema de Autoevaluación para Control Interno +// +// Explicación de los contenidos del archivo. +// ========================================================================= +// Historial +// PERSONA DIA – MES - AÑO DESCRIPCIÓN +// Pedro Leiva Cerdas 10 – Febrero - 2014 Entrega del sistema. (Versión original del archivo) +// Clase para trabajar con VISION 2020 +// //====================================================================== +// Derechos Reservados (C) 2012 AyA. +// ESTE CÓDIGO ES PROVEÍDO “TAL CUAL ES” SIN GARANTÍA ALGUNA +// DE NINGÚN TIPO, SEA IMPLICITA O EXPLICITA. +// NO SE PERMITE SU REPRODUCCIÓN PARCIAL O TOTAL, NI SU COMERCIALIZACIÓN +//====================================================================== +using System; +using System.IO; +using System.Web; +using System.Text; +using System.Data; +using System.Linq; +using System.Web.UI; +using System.Collections; +using System.Configuration; +using System.Web.UI.WebControls; +using System.Web.UI.HtmlControls; +using System.Collections.Generic; +using System.Security.Cryptography; +using System.Text.RegularExpressions; +using System.Net; + +public partial class Documento : System.Web.UI.Page +{ + //Se hace referencia del WS + AYA.SlnSinort.Vision2020.wsapi wsVision2020; + + //public const string const_strArchivadores = "Sistemas"; + //public const string strIdGaveta = ""; //para sisproap siempre serà id_gabeta="0000003C" pero mejor buscamos el id_gabeta por si ha cambiado + + //public const string const_strUsuario = "sevri"; + //public const string const_strClave = "usersevri"; + //public const string const_strGaveta = "sevri"; + //public string const_strLlaves = ConfigurationSettings.AppSettings["const_strLlaves"].ToString(); //para este sistema SDI estas son las llaves por default + public string const_strUsuario = ConfigurationSettings.AppSettings["const_strUsuario"].ToString(); + public string const_strClave = ConfigurationSettings.AppSettings["const_strClave"].ToString(); + public string const_strArchivadores = ConfigurationSettings.AppSettings["const_strArchivadores"].ToString(); + public string const_strGaveta = ConfigurationSettings.AppSettings["const_strGaveta"].ToString(); + public string strIdGaveta = ""; //para este sistema sevri simpre serà ="00000035" pero mejor lo buscamos + public string const_strLlaves = ConfigurationSettings.AppSettings["const_strLlaves"].ToString(); //para este sistema SDI estas son las llaves por default + + /// + /// Método que se utiliza para retornar un DS con el àrbol Estructura + /// + public DataSet dsEstructura(string strUsuario, string strClave, bool bolMappingTypeAttribute) + { + DataSet dsArbolEstructura = new DataSet(); + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + dsArbolEstructura = wsVision2020.Arbol_Estructura(strUsuario, strClave, bolMappingTypeAttribute); + } + catch (Exception ex) + { + return null; + } + return dsArbolEstructura; + } + + /// + /// Método que se utiliza para retornar el id de la Carpeta o sea la DEPENDENCIA que nos interesa + /// si retorna un null es que no encontro la Carpeta + /// + private string Id_Carpeta( string strLlaves, string strValores) + { + DataSet dsCarpeta = new DataSet(); + string strId_Carpeta = null; + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + dsCarpeta = wsVision2020.Devuelve_Ids_Gaveta_Carpeta(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strLlaves, strValores); + if (dsCarpeta.Tables[0].Rows.Count > 0) + { + strId_Carpeta = dsCarpeta.Tables[0].Rows[1]["valor"].ToString(); + } + } + catch (Exception ex) + { + return strId_Carpeta; + } + return strId_Carpeta; + } + + /// + /// Método que se utiliza para retornar un DS con la lista de los archivos soportados + /// + public DataSet dsLista_archivos_soportados() + { + DataSet dsLista_archivos_soportados = new DataSet(); + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + dsLista_archivos_soportados = wsVision2020.Lista_De_Archivos_Soportados(); + } + catch (Exception ex) + { + return null; + } + return dsLista_archivos_soportados; + } + + /// + /// Método que se utiliza para retornar un DS con la lista de las carpetas + /// Ejemplo: wsVision2020.Buscar_Carpetas("sisproap", "usersisproap", "Sistemas", "sisproap", "", "Dependencias|Region|Area|Sistema|Estacion|Equipo|Horimetro|Usuario Sistema"); + /// + private DataSet dsLista_Carpetas(string strLlaves, string strValoresLlaves) + { + DataSet dsBuscar_Carpetas = new DataSet(); + try + { + // Para el caso de sisproap siempre el strId_Gaveta = 0000003C + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + dsBuscar_Carpetas = wsVision2020.Buscar_Carpetas(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strIdGaveta, strLlaves, strValoresLlaves); + } + + catch (Exception ex) + { + throw ex; + } + return dsBuscar_Carpetas; + } + + /// + /// Método que se utiliza para retornar un DS con la lista de documentos de una carpeta + /// Ejemplo: DataSet dsLista_De_Documentos = wsVision2020.Lista_De_Documentos(dsBuscar_Carpetas.Tables[0].Rows[0]["IDE_REG"].ToString()); + /// + private DataSet dsLista_Simple_Documentos_Carpeta(string strId_Carpeta) + { + DataSet dsLista_De_Documentos = new DataSet(); + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + dsLista_De_Documentos = wsVision2020.Lista_De_Documentos(strId_Carpeta); + } + catch (Exception ex) + { + throw ex; + } + return dsLista_De_Documentos; + } + + /// + /// Método que retorna un string con la URL de un id_objeto + /// + public string strURLArchivo( string strID_Carpeta, string strIde_obj) + { + DataSet dsObtener_URLArchivo = new DataSet(); + string strURLArchivo = ""; + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + strURLArchivo = wsVision2020.Descargar_Documento(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strID_Carpeta, strIde_obj,true); + } + catch (Exception ex) + { + return ""; + } + return strURLArchivo; + } + + /// + /// Método que retorna un string con la descripción del archivo + /// + public string strDescripcionArchivo(string strIde_obj) + { + DataSet dsObtener_DescripcionArchivo = new DataSet(); + string strDescripcionArchivo = ""; + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + dsObtener_DescripcionArchivo = wsVision2020.Lista_Notas_Documento(const_strUsuario,const_strClave, strIde_obj); + + if (dsObtener_DescripcionArchivo.Tables.Count > 0) + { + strDescripcionArchivo = dsObtener_DescripcionArchivo.Tables[0].Rows[0]["Nota"].ToString(); + } + } + catch (Exception ex) + { + return "Sin descripción"; + } + return strDescripcionArchivo; + } + + /// + /// Método que inserta una nota al documento + /// + public bool bolInsertar_DescripcionArchivo(string strIde_carpeta, string strIde_objeto, string strDescripcion_obj) + { + bool Respuesta = false; + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + wsVision2020.Insertar_Nota_Documento(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strIde_carpeta, strIde_objeto, strDescripcion_obj); + Respuesta = true; + } + + catch (Exception ex) + { + return Respuesta; + } + return Respuesta; + } + + /// + /// Método que inserta una nota a la carpeta del riesgo, esto es para darle un nombre conocido a cada una de ellas + /// + public bool bolInsertar_DescripcionCarpeta(string strArchivadores,string strIde_carpeta, string strDescripcion_obj) + { + bool Respuesta = false; + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + wsVision2020.Insertar_Nota_Expediente(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strIde_carpeta, strDescripcion_obj); + Respuesta = true; + } + + catch (Exception ex) + { + return Respuesta; + } + return Respuesta; + } + + /// + /// Este método devuelve un DS completo con la siguiente estructura (invoca los WebService necesarios) + ///--------------------------------------------------------------------------------------------------------------------- + /// Dependencia | ide_reg | ide_obj | des_obj | archivado | MB | ext_tipo | URL | ESTADO + ///---------------------------------------------------------------------------------------------------------------------- + /// + /// estructura de la llave: ejemplo:"Dependencias|Region|Area|Sistema|Estacion|Equipo|Horimetro|Usuario Sistema" + /// valores de la llave:ejemplo: 1|2|3|1|1|318|sisproap + /// + public DataSet dsLista_Completa_Documentos_Carpeta(string strLlaves, string strValoresLlaves) + { + DataSet dsCarpeta = new DataSet(); + DataSet dsListaDocumentos = new DataSet(); + DataSet dsArchivo = new DataSet(); + try + { + // Obtener el id_reg (ID de la carpeta) y cantidad de documentos contenidos en ella + dsCarpeta = dsLista_Carpetas(strLlaves, strValoresLlaves); + + if (dsCarpeta.Tables.Count.Equals(0)) + { + // no existe una carpeta + } + + else if (dsCarpeta.Tables[0].Rows.Count > 0) + //PENDIENTE: ojo si encuentra mas de dos registros debe de enviar un correo al administrador indicando que encontró + //directorios duplicados con la misma estructura y esto debe de correjirse. + { + // Obtiene la lista de los archivos (aun no tiene el URL) + dsListaDocumentos = dsLista_Simple_Documentos_Carpeta(dsCarpeta.Tables[0].Rows[0]["ide_reg"].ToString()); + if (dsListaDocumentos.Tables.Count > 0) + { + //Construir el DataTable + DataTable dtArchivo = new DataTable(); + dtArchivo.Columns.Add("ide_carpeta", typeof(string)); + dtArchivo.Columns.Add("ide_objeto", typeof(string)); + dtArchivo.Columns.Add("des_objeto", typeof(string)); + dtArchivo.Columns.Add("FechaArchivado", typeof(DateTime)); + dtArchivo.Columns.Add("MB", typeof(string)); + dtArchivo.Columns.Add("ext_objeto", typeof(string)); + dtArchivo.Columns.Add("descripcion_objeto", typeof(string)); + dtArchivo.Columns.Add("Estado", typeof(string)); + //se recorre el DS para obtener la descripción del los archivos + foreach (DataRow drTemp in dsListaDocumentos.Tables[0].Rows) + { + //Cargar valores al ROW y agregar al DataTable + dtArchivo.Rows.Add( dsCarpeta.Tables[0].Rows[0]["ide_reg"].ToString(), + drTemp["ide_obj"].ToString(), + drTemp["des_obj"].ToString(), + drTemp["Archivado"].ToString(), + drTemp["MB"].ToString(), + drTemp["ext_tip"].ToString(), + strDescripcionArchivo(drTemp["ide_obj"].ToString()).ToString(), + "~/App_Themes/Estados/imgBolita_Verde.png"); + } + // Convertir el DataTable a DataSet + dsArchivo.Tables.Add(dtArchivo); + } + } + } + catch (Exception ex) + { + throw ex; + } + return dsArchivo; + } + + /// + /// Este método crea una carpeta, en la GAVETA="SEVRI" Id_Gaveta="00000035" + /// + public string strInsertar_Carpeta(string strArchivadores, string strLlaves,string strValoresLlaves) + { + string strId_Carpeta = null; + try + { + // Me aseguro que no exista esa carpeta o sea que no no se ha creado esa dependencia, ya que + // aunque exista siempre ella crea una carpeta nueva, porque lo que importa es el ID y no el nombre de la dependencia + // que trae en la llave + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + if (!(wsVision2020.Existe_Carpeta(const_strArchivadores, const_strGaveta, strLlaves, strValoresLlaves))) + { + // Se crea la carpeta y se obtiene el id de la nueva carpeta + strId_Carpeta = wsVision2020.Insertar_Carpeta(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strLlaves, strValoresLlaves); + } + else + { + // En el caso que si exista la carpeta, solo se solicita el id_carpeta invocando al método Id_Carpeta + strId_Carpeta = Id_Carpeta(strLlaves, strValoresLlaves); + } + } + catch (Exception ex) + { + + } + return strId_Carpeta; + } + + /// + /// Este método sube un archivo a una carpeta especifica, y agrega una descripción a al archivo, + /// En caso de no exisistir la carpeta, esta será creada automáticamente y se le agrega una etiqueta o nombre a dicha carpeta + /// + public bool Archivar_Documento_Byte(string strEtiquetaCarpeta, string strLlaves, string strValoresLlaves, string strNombreArchivo, Byte[] byteArchivoEnByte, string strDescripcionDocumento) + { + string strId_Carpeta = null; + bool valor_retornado = false; + string str_idObjeto = ""; //id del objeto luego de ser guardado + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + //Paso 1: asegurarse que la carpeta exista + if (!(wsVision2020.Existe_Carpeta(const_strArchivadores, const_strGaveta, strLlaves, strValoresLlaves))) + { + // Se crea la carpeta y se obtiene el id de la nueva carpeta + strId_Carpeta = wsVision2020.Insertar_Carpeta(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strLlaves, strValoresLlaves); + // Se coloca una nota o etiqueta a la carpeta, esto es para personalizar el nombre, en este casa + // se le esta asignando el codigo del riesgo. + wsVision2020.Insertar_Nota_Expediente(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strId_Carpeta, strEtiquetaCarpeta); + } + else + { + // En el caso que si exista la carpeta, solo se solicita el id_carpeta invocando al método Id_Carpeta + strId_Carpeta = Id_Carpeta(strLlaves, strValoresLlaves); + } + + //Verificar si encontro el id_carpeta + if (strId_Carpeta.ToString().Trim() != "") + { + //Paso 2: Archivar documento en Byte + str_idObjeto = wsVision2020.ArchivarDocumentoByteDevuelveIdObjeto(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strId_Carpeta, strNombreArchivo, byteArchivoEnByte); + } + + //Paso 3: Subir descripción del archivo (si es que existe) + if (!(strDescripcionDocumento.ToString() == string.Empty && str_idObjeto == string.Empty)) + { + valor_retornado = bolInsertar_DescripcionArchivo(strId_Carpeta, str_idObjeto, strDescripcionDocumento); + } + } + catch (Exception ex) + { + return valor_retornado; + } + return valor_retornado; + } + + /// + /// Guarda en base de datos todo lo relacionado al archivo una vez que este fue subido al servidor + /// + /// ejemplo Cedula|Tipoadjunto se dividen con el siguiente caracter "|" + /// ejemplo 1-1044-0505|LISTACERTIFICACIONLITERAL + /// Mensaje de el estado de la operacion + public string Archivar_Documento(string strValoresLlaves, string strNombreArchivo, Byte[] byteArchivoEnByte) + { + string strId_Carpeta = null; + string valor_retornado = "Error al guardar el archivo"; + try + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + //Paso 1: asegurarse que la carpeta exista + if (!(wsVision2020.Existe_Carpeta(const_strArchivadores, const_strGaveta, const_strLlaves, strValoresLlaves))) + { + // Se crea la carpeta y se obtiene el id de la nueva carpeta + strId_Carpeta = wsVision2020.Insertar_Carpeta(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, const_strLlaves, strValoresLlaves); + // Se coloca una nota o etiqueta al carpeta, esto es para personalizar el nombre, en este casa + // se le esta asignando el codigo del riesgo. + //wsVision2020.Insertar_Nota_Expediente(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strId_Carpeta, strEtiquetaCarpeta); + + } + else + { + + // En el caso que si exista la carpeta, solo se solicita el id_carpeta invocando al método Id_Carpeta + strId_Carpeta = Id_Carpeta(const_strLlaves, strValoresLlaves); + } + + //Verificar si encontro el id_carpeta + if (strId_Carpeta.ToString().Trim() != "") + { + //Paso 2: Archivar documento en Byte + valor_retornado = wsVision2020.Archivar_DocumentoByte(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, const_strLlaves, strValoresLlaves, strNombreArchivo, byteArchivoEnByte); + } + } + catch (Exception ex) + { + throw ex; + //return valor_retornado; + } + return valor_retornado; + } + + /// + /// Carga el grid de documento + /// + /// cantidad de registros que posee el grid de documento + /// grid para la carga de datos + /// estructura de la llave - ejemplo: Dependencias|Region|Area|Sistema|Estacion|Equipo|Horimetro|Usuario Sistema + /// valores de la llave - ejemplo: 1|2|3|1|1|318|sisproap + /// + + + /// + /// Guardar documentos en base a la llave establecida + /// + /// descripcion de la carpeta, lo que se va almacenar + /// Nombre del archivo + /// Descripcion del archivo + /// Url: pendiente + /// archivo a almacenar + /// la estructura de la llave: ejemplo:"Dependencias|Region|Area|Sistema|Estacion|Equipo|Horimetro|Usuario Sistema" + /// valores de la llave:ejemplo: 1|2|3|1|1|318|sisproap + //public void GuardarDatos_Documento(string strEtiquetaCarpeta,TextBox txtNombreDeseadoAchivo, TextBox txtDescripcionDocumento, TextBox txtURL, AjaxControlToolkit.AsyncFileUpload afuArchivo, String strLlave, String strLLavePK) + //{ + // Documento Archivar_documento = new Documento(); + // Documento dtDocumento = new Documento(); + + // bool boolValorRetorno = false; + + // //Ajustar nombre archivo, por si trae extensión + // if (txtNombreDeseadoAchivo.Text.ToString().Trim().IndexOf(".") > 0) + // { + // txtNombreDeseadoAchivo.Text = txtNombreDeseadoAchivo.Text.Remove(txtNombreDeseadoAchivo.Text.ToString().Trim().IndexOf("."), + // txtNombreDeseadoAchivo.Text.ToString().Trim().Length); + // } + + // //Subir el archivo y descripción del archivo + // if (afuArchivo.HasFile) + // { + // boolValorRetorno = Archivar_documento.Archivar_Documento_Byte( + // strEtiquetaCarpeta, //ConfigurationManager.AppSettings["prmGaveta_SISPROAP_VISION2020"], + // strLlave.ToString(), //"Dependencias|Region|Area|Sistema|Estacion|Equipo|Horimetro|Usuario Sistema" + // //Parámetro 2: construir valores de las llaves ------------------------------- + // /* se coloca la validacion, para verificar si la llave que ingresa es de Biblioteca o no + // ,esto para mantener el PKDEPENDENCIA siempre en 1 para la llave biblioteca*/ + // (strLLavePK == (ConfigurationSettings.AppSettings["estructuraLlaveBiblioteca"]) ? + // ConfigurationSettings.AppSettings["PKBiblioteca"] : Session["PKDEPENDENCIA"].ToString().Trim()) + "|" + + // strLLavePK.ToString(), + // //Fin contrucción parámetro llave --------------------------------------------------- + // //Parámetro 3: Nombre Archivo + // txtNombreDeseadoAchivo.Text.ToString().Trim().Equals("") ? afuArchivo.FileName : (txtNombreDeseadoAchivo.Text.Trim() + ".pdf"), + // //Parámetro 4: Archivo en Byte + // afuArchivo.FileBytes, + // //Parámetro 6: Descripción del archivo + // txtDescripcionDocumento.Text); + + // //PENDIENTE:Subir el archivo con el URL (ruta de INTERNET) + // // aqui implementar subir archivo cuando ponen la URL + // txtNombreDeseadoAchivo.Text = ""; + // txtDescripcionDocumento.Text = ""; + // txtURL.Text = ""; + // } + // txtNombreDeseadoAchivo.Focus(); + //} + + /// + /// Este método devuelve la ruta html para ver un documento en especifico + /// + public string Visor_Documento(string strValoresLlaves,string strCedula) + { + wsVision2020 = new AYA.SlnSinort.Vision2020.wsapi(); + string valor_retornado = ""; + string id_Carpeta = ""; + string id_Obj = ""; + DataSet ds = new DataSet(); + bool descargado = true; + + try + { + if (wsVision2020.Existe_Carpeta(const_strArchivadores, const_strGaveta, const_strLlaves, strValoresLlaves)) + { + ds = wsVision2020.Buscar_Carpetas(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, strIdGaveta, const_strLlaves, strValoresLlaves); + id_Carpeta = ds.Tables[0].Rows[0]["ide_reg"].ToString(); + ds = wsVision2020.Lista_De_Documentos(id_Carpeta); + DateTime fecha = Convert.ToDateTime(ds.Tables[0].Rows[0]["Archivado"].ToString()); + foreach (DataRow row in ds.Tables[0].Rows) + { + //if (Convert.ToDateTime(row["Archivado"].ToString()) >= fecha) + // fecha = Convert.ToDateTime(row["Archivado"].ToString()); + using (AYA.SlnSinort.Vision2020.wsapi wsVision2020Descarga = new AYA.SlnSinort.Vision2020.wsapi()) + { + id_Obj = row["ide_obj"].ToString(); + + string strResultado = wsVision2020Descarga.Descargar_Documento(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, id_Carpeta, id_Obj,true) ; + valor_retornado += GetFileName(strResultado.Replace(@"|", "")) + "|"; + descargado = DescargarArchivo2020(strResultado, strCedula); + //System.Threading.Thread.Sleep(4000);//ESPERAR POR DOS SEGUNDOS MIENTRAS SE DESCARGA EL DOCUMENTO + //using (var client = new System.Net.WebClient()) + //{ + // string nombreDoc = GetFileName(valor_retornado.Replace(@"|", "")); + // client.DownloadFile(valor_retornado.Replace(@"|",""), nombreDoc); + //} + } + } + + } + else + { + return "No existe"; + } + } + catch (Exception ex) + { + return valor_retornado; + } + return valor_retornado; + } + private string GetFileName(string hrefLink) + { + string[] parts = hrefLink.Split('/'); + string fileName = ""; + + if (parts.Length > 0) + fileName = parts[parts.Length - 1]; + else + fileName = hrefLink; + + return fileName; + } + private bool DescargarArchivo2020(string url, string strCedula) + { + bool respuesta = false; + try + { + WebRequest request = WebRequest.Create(url); + WebResponse response = request.GetResponse(); + string targetUrl = Server.MapPath("../../DocsRespuesta/" + strCedula + "/"); + if (!Directory.Exists(targetUrl)) + Directory.CreateDirectory(targetUrl); + + string originalFileName = request.RequestUri.ToString().Substring(request.RequestUri.ToString().LastIndexOf("/") + 1);// response.ResponseUri.AbsolutePath.Substring(response.ResponseUri.AbsolutePath.LastIndexOf("/") + 1); + Stream streamWithFileBody = response.GetResponseStream(); + + using (Stream output = File.OpenWrite(targetUrl + originalFileName)) + { + streamWithFileBody.CopyTo(output); + streamWithFileBody.Close(); + } + + respuesta = true; + } + catch (Exception ex) + { + throw ex; + } + return respuesta; + } +} + + + diff --git a/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs b/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs index 22c3334f7..20a514dab 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs @@ -84,7 +84,7 @@ namespace webAgenciaVirtual context.Response.ContentType = "text/plain"; } - //context.Response.Write("Success"); + context.Response.Write("Success"); context.Response.ContentType = "text/plain"; context.Response.Write(file); return; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.BaseJson.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.BaseJson.datasource new file mode 100644 index 000000000..1908856f2 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.BaseJson.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.BaseJson, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.EncuestaJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.EncuestaJSON.datasource new file mode 100644 index 000000000..52a193e20 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.EncuestaJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.EncuestaJSON, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.SolicitudJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.SolicitudJSON.datasource new file mode 100644 index 000000000..84cac7970 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.SolicitudJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.SolicitudJSON, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.UExternoJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.UExternoJSON.datasource new file mode 100644 index 000000000..97bfcc9d6 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.UExternoJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.UExternoJSON, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.Convocatoria.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.Convocatoria.datasource new file mode 100644 index 000000000..ec8eb5178 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.Convocatoria.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Sinort.Convocatoria, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.GotitasNormativas.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.GotitasNormativas.datasource new file mode 100644 index 000000000..53f02e5d5 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.GotitasNormativas.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Sinort.GotitasNormativas, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataSet.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataSet.datasource new file mode 100644 index 000000000..02069ec8c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataSet.datasource @@ -0,0 +1,10 @@ + + + + System.Data.DataSet, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataTable.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataTable.datasource new file mode 100644 index 000000000..2bcd3e725 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Data.DataTable.datasource @@ -0,0 +1,10 @@ + + + + System.Data.DataTable, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Xml.XmlNode.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Xml.XmlNode.datasource new file mode 100644 index 000000000..7d9e5db39 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/System.Xml.XmlNode.datasource @@ -0,0 +1,10 @@ + + + + System.Xml.XmlNode, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.Designer.cs b/AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.Designer.cs new file mode 100644 index 000000000..7ac9b2a61 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.Designer.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace AYA.SlnSinort.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] + [global::System.Configuration.DefaultSettingValueAttribute("http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx")] + public string AYA_SlnSinort_Vision2020_wsapi { + get { + return ((string)(this["AYA_SlnSinort_Vision2020_wsapi"])); + } + } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.settings b/AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.settings new file mode 100644 index 000000000..ccae6b9fe --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/Settings.settings @@ -0,0 +1,9 @@ + + + + + + http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.cs b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.cs index 3515ccba6..786928b5b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.cs @@ -21,12 +21,24 @@ namespace AYA.SlnSinort.ServicioSinortWCF { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarProyectoNormativoResponse")] System.Threading.Tasks.Task GuardarProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/BuscarNombreProyecto", ReplyAction="http://tempuri.org/ISinort/BuscarNombreProyectoResponse")] + string BuscarNombreProyecto(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/BuscarNombreProyecto", ReplyAction="http://tempuri.org/ISinort/BuscarNombreProyectoResponse")] + System.Threading.Tasks.Task BuscarNombreProyectoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarConvocatoriaProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarConvocatoriaProyectoNormativoResponse")] AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarConvocatoriaProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarConvocatoriaProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarConvocatoriaProyectoNormativoResponse")] System.Threading.Tasks.Task GuardarConvocatoriaProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ActualizarConvocados", ReplyAction="http://tempuri.org/ISinort/ActualizarConvocadosResponse")] + AYA.SlnSinortModel.Sinort.Convocatoria[] ActualizarConvocados(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ActualizarConvocados", ReplyAction="http://tempuri.org/ISinort/ActualizarConvocadosResponse")] + System.Threading.Tasks.Task ActualizarConvocadosAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/ObtenerProyectoNormativoResponse")] AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON ObtenerProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); @@ -51,24 +63,114 @@ namespace AYA.SlnSinort.ServicioSinortWCF { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarEventoProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarEventoProyectoNormativoResponse")] System.Threading.Tasks.Task GuardarEventoProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EliminarConvocatoriaProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/EliminarConvocatoriaProyectoNormativoResponse")] + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EliminarConvocatoriaProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/EliminarConvocatoriaProyectoNormativoResponse")] + System.Threading.Tasks.Task EliminarConvocatoriaProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnica", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaResponse")] AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnica", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaResponse")] System.Threading.Tasks.Task GuardarFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnicaHistorico", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaHistoricoResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaHistorico(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnicaHistorico", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaHistoricoResponse")] + System.Threading.Tasks.Task GuardarFichaTecnicaHistoricoAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnicaHistoricoPalabraClave", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaHistoricoPalabraClaveResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaHistoricoPalabraClave(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnicaHistoricoPalabraClave", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaHistoricoPalabraClaveResponse")] + System.Threading.Tasks.Task GuardarFichaTecnicaHistoricoPalabraClaveAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnicaPalabraClave", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaPalabraClaveResponse")] AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaPalabraClave(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarFichaTecnicaPalabraClave", ReplyAction="http://tempuri.org/ISinort/GuardarFichaTecnicaPalabraClaveResponse")] System.Threading.Tasks.Task GuardarFichaTecnicaPalabraClaveAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaTecnica", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaTecnicaResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaTecnica", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaTecnicaResponse")] + System.Threading.Tasks.Task ObtenerFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSitios", ReplyAction="http://tempuri.org/ISinort/ObtenerSitiosResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerSitios(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSitios", ReplyAction="http://tempuri.org/ISinort/ObtenerSitiosResponse")] + System.Threading.Tasks.Task ObtenerSitiosAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerEliminadas", ReplyAction="http://tempuri.org/ISinort/ObtenerEliminadasResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerEliminadas(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerEliminadas", ReplyAction="http://tempuri.org/ISinort/ObtenerEliminadasResponse")] + System.Threading.Tasks.Task ObtenerEliminadasAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerInactivas", ReplyAction="http://tempuri.org/ISinort/ObtenerInactivasResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerInactivas(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerInactivas", ReplyAction="http://tempuri.org/ISinort/ObtenerInactivasResponse")] + System.Threading.Tasks.Task ObtenerInactivasAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreoFichaTecnica", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoFichaTecnicaResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON EnviarCorreoFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreoFichaTecnica", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoFichaTecnicaResponse")] + System.Threading.Tasks.Task EnviarCorreoFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EliminarFichaTecnica", ReplyAction="http://tempuri.org/ISinort/EliminarFichaTecnicaResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON EliminarFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EliminarFichaTecnica", ReplyAction="http://tempuri.org/ISinort/EliminarFichaTecnicaResponse")] + System.Threading.Tasks.Task EliminarFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaTecnicaHistorico", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaTecnicaHistoricoResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaTecnicaHistorico(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaTecnicaHistorico", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaTecnicaHistoricoResponse")] + System.Threading.Tasks.Task ObtenerFichaTecnicaHistoricoAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarActualizarFichaTecnicaAlerta", ReplyAction="http://tempuri.org/ISinort/InsertarActualizarFichaTecnicaAlertaResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON InsertarActualizarFichaTecnicaAlerta(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarActualizarFichaTecnicaAlerta", ReplyAction="http://tempuri.org/ISinort/InsertarActualizarFichaTecnicaAlertaResponse")] + System.Threading.Tasks.Task InsertarActualizarFichaTecnicaAlertaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaTecnicaAlerta", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaTecnicaAlertaResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaTecnicaAlerta(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaTecnicaAlerta", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaTecnicaAlertaResponse")] + System.Threading.Tasks.Task ObtenerFichaTecnicaAlertaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaAlerta", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaAlertaResponse")] + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaAlerta(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerFichaAlerta", ReplyAction="http://tempuri.org/ISinort/ObtenerFichaAlertaResponse")] + System.Threading.Tasks.Task ObtenerFichaAlertaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/RemoverAdjunto", ReplyAction="http://tempuri.org/ISinort/RemoverAdjuntoResponse")] AYA.SlnSinortModel.Entidades.AdjuntosJSON RemoverAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/RemoverAdjunto", ReplyAction="http://tempuri.org/ISinort/RemoverAdjuntoResponse")] System.Threading.Tasks.Task RemoverAdjuntoAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/CopiarAdjunto", ReplyAction="http://tempuri.org/ISinort/CopiarAdjuntoResponse")] + AYA.SlnSinortModel.Entidades.AdjuntosJSON CopiarAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/CopiarAdjunto", ReplyAction="http://tempuri.org/ISinort/CopiarAdjuntoResponse")] + System.Threading.Tasks.Task CopiarAdjuntoAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EliminarbaseAdjunto", ReplyAction="http://tempuri.org/ISinort/EliminarbaseAdjuntoResponse")] + AYA.SlnSinortModel.Entidades.AdjuntosJSON EliminarbaseAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EliminarbaseAdjunto", ReplyAction="http://tempuri.org/ISinort/EliminarbaseAdjuntoResponse")] + System.Threading.Tasks.Task EliminarbaseAdjuntoAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarAdjuntos", ReplyAction="http://tempuri.org/ISinort/GuardarAdjuntosResponse")] AYA.SlnSinortModel.Entidades.AdjuntosJSON GuardarAdjuntos(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); @@ -82,87 +184,62 @@ namespace AYA.SlnSinort.ServicioSinortWCF { System.Threading.Tasks.Task ObtenerAdjuntosAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerTareasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerTareasPendientesResponse")] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ComentariosProyecto))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.DocumentosAdjuntos))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.BitacoraDocumentos[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.BitacoraDocumentos))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Documentos))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoDocumento))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Documentos[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.DocumentosAdjuntos[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaTipoDocumento[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaTipoDocumento))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Calendario[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Calendario))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ProyectoNormativo))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ComentariosProyecto[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Convocatoria[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Convocatoria))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Usuario))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesUsuario[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesUsuario))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Roles))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesPantallas[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesPantallas))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Pantallas))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Solicitud[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Solicitud))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.AreaAplicacionDocumentoTecnico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Estado))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnica[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnica))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Aplicacion))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoAplicacion))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Aplicacion[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Contenido))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaContenido[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaContenido))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.DocumentoTecnico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Emisor))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoEmisor))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Emisor[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnicaPalabraClave[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnicaPalabraClave))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.PalabraClave))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.GrupoTematico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaGrupoTematico[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaGrupoTematico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoEstado))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Estado[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoSolicitud))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TareasPendientes[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TareasPendientes))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoProyecto))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ProyectoNormativo[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.PlantillaEmail))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Pantallas[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.BaseJson))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.EventosJSON[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.EventosJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.AdjuntosJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.NotificacionesJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.LoginJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Atesa.Utilitarios.AtesaJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))] AYA.SlnSinortModel.Sinort.TareasPendientes[] ObtenerTareasPendientes(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerTareasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerTareasPendientesResponse")] System.Threading.Tasks.Task ObtenerTareasPendientesAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitudTareasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudTareasPendientesResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitudTareasPendientes(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitudTareasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudTareasPendientesResponse")] + System.Threading.Tasks.Task ObtenerSolicitudTareasPendientesAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarActualizarTareasPendientes", ReplyAction="http://tempuri.org/ISinort/InsertarActualizarTareasPendientesResponse")] AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON InsertarActualizarTareasPendientes(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarActualizarTareasPendientes", ReplyAction="http://tempuri.org/ISinort/InsertarActualizarTareasPendientesResponse")] System.Threading.Tasks.Task InsertarActualizarTareasPendientesAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarActualizarTareasPendientes2", ReplyAction="http://tempuri.org/ISinort/InsertarActualizarTareasPendientes2Response")] + AYA.SlnSinortModel.Entidades.SolicitudJSON InsertarActualizarTareasPendientes2(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarActualizarTareasPendientes2", ReplyAction="http://tempuri.org/ISinort/InsertarActualizarTareasPendientes2Response")] + System.Threading.Tasks.Task InsertarActualizarTareasPendientes2Async(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerCantidadTareasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerCantidadTareasPendientesResponse")] AYA.SlnSinortModel.Entidades.NotificacionesJSON ObtenerCantidadTareasPendientes(AYA.SlnSinortModel.Entidades.NotificacionesJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerCantidadTareasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerCantidadTareasPendientesResponse")] System.Threading.Tasks.Task ObtenerCantidadTareasPendientesAsync(AYA.SlnSinortModel.Entidades.NotificacionesJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerGotitasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerGotitasPendientesResponse")] + AYA.SlnSinortModel.Sinort.GotitasNormativas[] ObtenerGotitasPendientes(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerGotitasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerGotitasPendientesResponse")] + System.Threading.Tasks.Task ObtenerGotitasPendientesAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarGotitasNormativas", ReplyAction="http://tempuri.org/ISinort/InsertarGotitasNormativasResponse")] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.AdjuntosJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.CatalogosPostJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.SolicitudJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.NotificacionesJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.LoginJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.EncuestaJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.UExternoJSON))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON))] + AYA.SlnSinortModel.Entidades.BaseJson InsertarGotitasNormativas(AYA.SlnSinortModel.Sinort.GotitasNormativas model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/InsertarGotitasNormativas", ReplyAction="http://tempuri.org/ISinort/InsertarGotitasNormativasResponse")] + System.Threading.Tasks.Task InsertarGotitasNormativasAsync(AYA.SlnSinortModel.Sinort.GotitasNormativas model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerCantidadGotitasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerCantidadGotitasPendientesResponse")] + AYA.SlnSinortModel.Entidades.NotificacionesJSON ObtenerCantidadGotitasPendientes(AYA.SlnSinortModel.Entidades.NotificacionesJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerCantidadGotitasPendientes", ReplyAction="http://tempuri.org/ISinort/ObtenerCantidadGotitasPendientesResponse")] + System.Threading.Tasks.Task ObtenerCantidadGotitasPendientesAsync(AYA.SlnSinortModel.Entidades.NotificacionesJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerUsuarioAD", ReplyAction="http://tempuri.org/ISinort/ObtenerUsuarioADResponse")] AYA.SlnSinortModel.Entidades.LoginJSON ObtenerUsuarioAD(AYA.SlnSinortModel.Entidades.LoginJSON model); @@ -170,87 +247,112 @@ namespace AYA.SlnSinort.ServicioSinortWCF { System.Threading.Tasks.Task ObtenerUsuarioADAsync(AYA.SlnSinortModel.Entidades.LoginJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/VerificarUsuarioBD", ReplyAction="http://tempuri.org/ISinort/VerificarUsuarioBDResponse")] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ComentariosProyecto))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.DocumentosAdjuntos))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.BitacoraDocumentos[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.BitacoraDocumentos))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Documentos))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoDocumento))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Documentos[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.DocumentosAdjuntos[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaTipoDocumento[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaTipoDocumento))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Calendario[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Calendario))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ProyectoNormativo))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ComentariosProyecto[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Convocatoria[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Convocatoria))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Usuario))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesUsuario[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesUsuario))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Roles))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesPantallas[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.RolesPantallas))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Pantallas))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Solicitud[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Solicitud))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.AreaAplicacionDocumentoTecnico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Estado))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnica[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnica))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Aplicacion))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoAplicacion))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Aplicacion[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Contenido))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaContenido[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaContenido))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.DocumentoTecnico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Emisor))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoEmisor))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Emisor[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnicaPalabraClave[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.FichaTecnicaPalabraClave))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.PalabraClave))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.GrupoTematico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaGrupoTematico[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.SubCategoriaGrupoTematico))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoEstado))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Estado[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoSolicitud))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TareasPendientes[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TareasPendientes))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.TipoProyecto))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.ProyectoNormativo[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.PlantillaEmail))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Sinort.Pantallas[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.BaseJson))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.EventosJSON[]))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.EventosJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.AdjuntosJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.NotificacionesJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.LoginJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Atesa.Utilitarios.AtesaJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))] AYA.SlnSinortModel.Entidades.CatalogosPostJSON VerificarUsuarioBD(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/VerificarUsuarioBD", ReplyAction="http://tempuri.org/ISinort/VerificarUsuarioBDResponse")] System.Threading.Tasks.Task VerificarUsuarioBDAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerPermisos", ReplyAction="http://tempuri.org/ISinort/ObtenerPermisosResponse")] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.BaseJson))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.AdjuntosJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.CatalogosPostJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.NotificacionesJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.LoginJSON))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON))] - AYA.SlnSinortModel.Sinort.Pantallas[] ObtenerPermisos(Atesa.Utilitarios.AtesaJSON model); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/VerificarUsuarioBDExterno", ReplyAction="http://tempuri.org/ISinort/VerificarUsuarioBDExternoResponse")] + AYA.SlnSinortModel.Entidades.CatalogosPostJSON VerificarUsuarioBDExterno(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/VerificarUsuarioBDExterno", ReplyAction="http://tempuri.org/ISinort/VerificarUsuarioBDExternoResponse")] + System.Threading.Tasks.Task VerificarUsuarioBDExternoAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerPermisos", ReplyAction="http://tempuri.org/ISinort/ObtenerPermisosResponse")] - System.Threading.Tasks.Task ObtenerPermisosAsync(Atesa.Utilitarios.AtesaJSON model); + AYA.SlnSinortModel.Sinort.Pantallas[] ObtenerPermisos(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerPermisos", ReplyAction="http://tempuri.org/ISinort/ObtenerPermisosResponse")] + System.Threading.Tasks.Task ObtenerPermisosAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarSolicitud", ReplyAction="http://tempuri.org/ISinort/GuardarSolicitudResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON GuardarSolicitud(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarSolicitud", ReplyAction="http://tempuri.org/ISinort/GuardarSolicitudResponse")] + System.Threading.Tasks.Task GuardarSolicitudAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitud", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitud(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitud", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudResponse")] + System.Threading.Tasks.Task ObtenerSolicitudAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitudUsuario", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudUsuarioResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitudUsuario(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitudUsuario", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudUsuarioResponse")] + System.Threading.Tasks.Task ObtenerSolicitudUsuarioAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitudCompraAutorizadas", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudCompraAutorizadasResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitudCompraAutorizadas(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerSolicitudCompraAutorizadas", ReplyAction="http://tempuri.org/ISinort/ObtenerSolicitudCompraAutorizadasResponse")] + System.Threading.Tasks.Task ObtenerSolicitudCompraAutorizadasAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerPorTipo", ReplyAction="http://tempuri.org/ISinort/ObtenerPorTipoResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerPorTipo(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerPorTipo", ReplyAction="http://tempuri.org/ISinort/ObtenerPorTipoResponse")] + System.Threading.Tasks.Task ObtenerPorTipoAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreoSolicitud", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoSolicitudResponse")] + AYA.SlnSinortModel.Entidades.SolicitudJSON EnviarCorreoSolicitud(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreoSolicitud", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoSolicitudResponse")] + System.Threading.Tasks.Task EnviarCorreoSolicitudAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarPregunta", ReplyAction="http://tempuri.org/ISinort/GuardarPreguntaResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarPregunta(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarPregunta", ReplyAction="http://tempuri.org/ISinort/GuardarPreguntaResponse")] + System.Threading.Tasks.Task GuardarPreguntaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerEncuestas", ReplyAction="http://tempuri.org/ISinort/ObtenerEncuestasResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerEncuestas(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerEncuestas", ReplyAction="http://tempuri.org/ISinort/ObtenerEncuestasResponse")] + System.Threading.Tasks.Task ObtenerEncuestasAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerEncabezadoEncuesta", ReplyAction="http://tempuri.org/ISinort/ObtenerEncabezadoEncuestaResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerEncabezadoEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerEncabezadoEncuesta", ReplyAction="http://tempuri.org/ISinort/ObtenerEncabezadoEncuestaResponse")] + System.Threading.Tasks.Task ObtenerEncabezadoEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerDetalleEncuesta", ReplyAction="http://tempuri.org/ISinort/ObtenerDetalleEncuestaResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerDetalleEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerDetalleEncuesta", ReplyAction="http://tempuri.org/ISinort/ObtenerDetalleEncuestaResponse")] + System.Threading.Tasks.Task ObtenerDetalleEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarEncuesta", ReplyAction="http://tempuri.org/ISinort/GuardarEncuestaResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarEncuesta", ReplyAction="http://tempuri.org/ISinort/GuardarEncuestaResponse")] + System.Threading.Tasks.Task GuardarEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarRespuestaEncuesta", ReplyAction="http://tempuri.org/ISinort/GuardarRespuestaEncuestaResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarRespuestaEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarRespuestaEncuesta", ReplyAction="http://tempuri.org/ISinort/GuardarRespuestaEncuestaResponse")] + System.Threading.Tasks.Task GuardarRespuestaEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarUsuariosEncuesta", ReplyAction="http://tempuri.org/ISinort/GuardarUsuariosEncuestaResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarUsuariosEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarUsuariosEncuesta", ReplyAction="http://tempuri.org/ISinort/GuardarUsuariosEncuestaResponse")] + System.Threading.Tasks.Task GuardarUsuariosEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerUsuariosEncuestas", ReplyAction="http://tempuri.org/ISinort/ObtenerUsuariosEncuestasResponse")] + AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerUsuariosEncuestas(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerUsuariosEncuestas", ReplyAction="http://tempuri.org/ISinort/ObtenerUsuariosEncuestasResponse")] + System.Threading.Tasks.Task ObtenerUsuariosEncuestasAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreoAExterno", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoAExternoResponse")] + AYA.SlnSinortModel.Entidades.UExternoJSON EnviarCorreoAExterno(AYA.SlnSinortModel.Entidades.UExternoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreoAExterno", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoAExternoResponse")] + System.Threading.Tasks.Task EnviarCorreoAExternoAsync(AYA.SlnSinortModel.Entidades.UExternoJSON model); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -288,6 +390,14 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.GuardarProyectoNormativoAsync(model); } + public string BuscarNombreProyecto(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.BuscarNombreProyecto(model); + } + + public System.Threading.Tasks.Task BuscarNombreProyectoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.BuscarNombreProyectoAsync(model); + } + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarConvocatoriaProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { return base.Channel.GuardarConvocatoriaProyectoNormativo(model); } @@ -296,6 +406,14 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.GuardarConvocatoriaProyectoNormativoAsync(model); } + public AYA.SlnSinortModel.Sinort.Convocatoria[] ActualizarConvocados(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.ActualizarConvocados(model); + } + + public System.Threading.Tasks.Task ActualizarConvocadosAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.ActualizarConvocadosAsync(model); + } + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON ObtenerProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { return base.Channel.ObtenerProyectoNormativo(model); } @@ -328,6 +446,14 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.GuardarEventoProyectoNormativoAsync(model); } + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.EliminarConvocatoriaProyectoNormativo(model); + } + + public System.Threading.Tasks.Task EliminarConvocatoriaProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.EliminarConvocatoriaProyectoNormativoAsync(model); + } + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { return base.Channel.GuardarFichaTecnica(model); } @@ -336,6 +462,22 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.GuardarFichaTecnicaAsync(model); } + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaHistorico(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaHistorico(model); + } + + public System.Threading.Tasks.Task GuardarFichaTecnicaHistoricoAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaHistoricoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaHistoricoPalabraClave(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaHistoricoPalabraClave(model); + } + + public System.Threading.Tasks.Task GuardarFichaTecnicaHistoricoPalabraClaveAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaHistoricoPalabraClaveAsync(model); + } + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaPalabraClave(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { return base.Channel.GuardarFichaTecnicaPalabraClave(model); } @@ -344,6 +486,86 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.GuardarFichaTecnicaPalabraClaveAsync(model); } + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaTecnica(model); + } + + public System.Threading.Tasks.Task ObtenerFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaTecnicaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerSitios(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerSitios(model); + } + + public System.Threading.Tasks.Task ObtenerSitiosAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerSitiosAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerEliminadas(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerEliminadas(model); + } + + public System.Threading.Tasks.Task ObtenerEliminadasAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerEliminadasAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerInactivas(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerInactivas(model); + } + + public System.Threading.Tasks.Task ObtenerInactivasAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerInactivasAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON EnviarCorreoFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.EnviarCorreoFichaTecnica(model); + } + + public System.Threading.Tasks.Task EnviarCorreoFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.EnviarCorreoFichaTecnicaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON EliminarFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.EliminarFichaTecnica(model); + } + + public System.Threading.Tasks.Task EliminarFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.EliminarFichaTecnicaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaTecnicaHistorico(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaTecnicaHistorico(model); + } + + public System.Threading.Tasks.Task ObtenerFichaTecnicaHistoricoAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaTecnicaHistoricoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON InsertarActualizarFichaTecnicaAlerta(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.InsertarActualizarFichaTecnicaAlerta(model); + } + + public System.Threading.Tasks.Task InsertarActualizarFichaTecnicaAlertaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.InsertarActualizarFichaTecnicaAlertaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaTecnicaAlerta(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaTecnicaAlerta(model); + } + + public System.Threading.Tasks.Task ObtenerFichaTecnicaAlertaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaTecnicaAlertaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON ObtenerFichaAlerta(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaAlerta(model); + } + + public System.Threading.Tasks.Task ObtenerFichaAlertaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.ObtenerFichaAlertaAsync(model); + } + public AYA.SlnSinortModel.Entidades.AdjuntosJSON RemoverAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { return base.Channel.RemoverAdjunto(model); } @@ -352,6 +574,22 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.RemoverAdjuntoAsync(model); } + public AYA.SlnSinortModel.Entidades.AdjuntosJSON CopiarAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.CopiarAdjunto(model); + } + + public System.Threading.Tasks.Task CopiarAdjuntoAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.CopiarAdjuntoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.AdjuntosJSON EliminarbaseAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.EliminarbaseAdjunto(model); + } + + public System.Threading.Tasks.Task EliminarbaseAdjuntoAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.EliminarbaseAdjuntoAsync(model); + } + public AYA.SlnSinortModel.Entidades.AdjuntosJSON GuardarAdjuntos(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { return base.Channel.GuardarAdjuntos(model); } @@ -376,6 +614,14 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.ObtenerTareasPendientesAsync(model); } + public AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitudTareasPendientes(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudTareasPendientes(model); + } + + public System.Threading.Tasks.Task ObtenerSolicitudTareasPendientesAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudTareasPendientesAsync(model); + } + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON InsertarActualizarTareasPendientes(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { return base.Channel.InsertarActualizarTareasPendientes(model); } @@ -384,6 +630,14 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.InsertarActualizarTareasPendientesAsync(model); } + public AYA.SlnSinortModel.Entidades.SolicitudJSON InsertarActualizarTareasPendientes2(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.InsertarActualizarTareasPendientes2(model); + } + + public System.Threading.Tasks.Task InsertarActualizarTareasPendientes2Async(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.InsertarActualizarTareasPendientes2Async(model); + } + public AYA.SlnSinortModel.Entidades.NotificacionesJSON ObtenerCantidadTareasPendientes(AYA.SlnSinortModel.Entidades.NotificacionesJSON model) { return base.Channel.ObtenerCantidadTareasPendientes(model); } @@ -392,6 +646,30 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.ObtenerCantidadTareasPendientesAsync(model); } + public AYA.SlnSinortModel.Sinort.GotitasNormativas[] ObtenerGotitasPendientes(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.ObtenerGotitasPendientes(model); + } + + public System.Threading.Tasks.Task ObtenerGotitasPendientesAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.ObtenerGotitasPendientesAsync(model); + } + + public AYA.SlnSinortModel.Entidades.BaseJson InsertarGotitasNormativas(AYA.SlnSinortModel.Sinort.GotitasNormativas model) { + return base.Channel.InsertarGotitasNormativas(model); + } + + public System.Threading.Tasks.Task InsertarGotitasNormativasAsync(AYA.SlnSinortModel.Sinort.GotitasNormativas model) { + return base.Channel.InsertarGotitasNormativasAsync(model); + } + + public AYA.SlnSinortModel.Entidades.NotificacionesJSON ObtenerCantidadGotitasPendientes(AYA.SlnSinortModel.Entidades.NotificacionesJSON model) { + return base.Channel.ObtenerCantidadGotitasPendientes(model); + } + + public System.Threading.Tasks.Task ObtenerCantidadGotitasPendientesAsync(AYA.SlnSinortModel.Entidades.NotificacionesJSON model) { + return base.Channel.ObtenerCantidadGotitasPendientesAsync(model); + } + public AYA.SlnSinortModel.Entidades.LoginJSON ObtenerUsuarioAD(AYA.SlnSinortModel.Entidades.LoginJSON model) { return base.Channel.ObtenerUsuarioAD(model); } @@ -408,12 +686,140 @@ namespace AYA.SlnSinort.ServicioSinortWCF { return base.Channel.VerificarUsuarioBDAsync(model); } - public AYA.SlnSinortModel.Sinort.Pantallas[] ObtenerPermisos(Atesa.Utilitarios.AtesaJSON model) { + public AYA.SlnSinortModel.Entidades.CatalogosPostJSON VerificarUsuarioBDExterno(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.VerificarUsuarioBDExterno(model); + } + + public System.Threading.Tasks.Task VerificarUsuarioBDExternoAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.VerificarUsuarioBDExternoAsync(model); + } + + public AYA.SlnSinortModel.Sinort.Pantallas[] ObtenerPermisos(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { return base.Channel.ObtenerPermisos(model); } - public System.Threading.Tasks.Task ObtenerPermisosAsync(Atesa.Utilitarios.AtesaJSON model) { + public System.Threading.Tasks.Task ObtenerPermisosAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { return base.Channel.ObtenerPermisosAsync(model); } + + public AYA.SlnSinortModel.Entidades.SolicitudJSON GuardarSolicitud(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.GuardarSolicitud(model); + } + + public System.Threading.Tasks.Task GuardarSolicitudAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.GuardarSolicitudAsync(model); + } + + public AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitud(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitud(model); + } + + public System.Threading.Tasks.Task ObtenerSolicitudAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudAsync(model); + } + + public AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitudUsuario(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudUsuario(model); + } + + public System.Threading.Tasks.Task ObtenerSolicitudUsuarioAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudUsuarioAsync(model); + } + + public AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerSolicitudCompraAutorizadas(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudCompraAutorizadas(model); + } + + public System.Threading.Tasks.Task ObtenerSolicitudCompraAutorizadasAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerSolicitudCompraAutorizadasAsync(model); + } + + public AYA.SlnSinortModel.Entidades.SolicitudJSON ObtenerPorTipo(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerPorTipo(model); + } + + public System.Threading.Tasks.Task ObtenerPorTipoAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.ObtenerPorTipoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.SolicitudJSON EnviarCorreoSolicitud(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.EnviarCorreoSolicitud(model); + } + + public System.Threading.Tasks.Task EnviarCorreoSolicitudAsync(AYA.SlnSinortModel.Entidades.SolicitudJSON model) { + return base.Channel.EnviarCorreoSolicitudAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarPregunta(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarPregunta(model); + } + + public System.Threading.Tasks.Task GuardarPreguntaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarPreguntaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerEncuestas(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerEncuestas(model); + } + + public System.Threading.Tasks.Task ObtenerEncuestasAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerEncuestasAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerEncabezadoEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerEncabezadoEncuesta(model); + } + + public System.Threading.Tasks.Task ObtenerEncabezadoEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerEncabezadoEncuestaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerDetalleEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerDetalleEncuesta(model); + } + + public System.Threading.Tasks.Task ObtenerDetalleEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerDetalleEncuestaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarEncuesta(model); + } + + public System.Threading.Tasks.Task GuardarEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarEncuestaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarRespuestaEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarRespuestaEncuesta(model); + } + + public System.Threading.Tasks.Task GuardarRespuestaEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarRespuestaEncuestaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON GuardarUsuariosEncuesta(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarUsuariosEncuesta(model); + } + + public System.Threading.Tasks.Task GuardarUsuariosEncuestaAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.GuardarUsuariosEncuestaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.EncuestaJSON ObtenerUsuariosEncuestas(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerUsuariosEncuestas(model); + } + + public System.Threading.Tasks.Task ObtenerUsuariosEncuestasAsync(AYA.SlnSinortModel.Entidades.EncuestaJSON model) { + return base.Channel.ObtenerUsuariosEncuestasAsync(model); + } + + public AYA.SlnSinortModel.Entidades.UExternoJSON EnviarCorreoAExterno(AYA.SlnSinortModel.Entidades.UExternoJSON model) { + return base.Channel.EnviarCorreoAExterno(model); + } + + public System.Threading.Tasks.Task EnviarCorreoAExternoAsync(AYA.SlnSinortModel.Entidades.UExternoJSON model) { + return base.Channel.EnviarCorreoAExternoAsync(model); + } } } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap index ff4757725..3cbfbacc4 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap @@ -19,17 +19,17 @@ - + - - - - - - - - + + + + + + + + diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl deleted file mode 100644 index 4b1fcffdb..000000000 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl +++ /dev/null @@ -1,357 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://10.50.1.123:2070/Sinort.svc/soap - - - - \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.disco b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.disco similarity index 55% rename from AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.disco rename to AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.disco index 02464915c..19db3aff5 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.disco +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.disco @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.wsdl b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.wsdl new file mode 100644 index 000000000..9774b5c1e --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.wsdl @@ -0,0 +1,1079 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://aya-vsrv-wstt:2005/Sinort.svc/soap + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.xsd deleted file mode 100644 index f2c9f8005..000000000 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.xsd +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort4.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort4.xsd deleted file mode 100644 index 3b9205a84..000000000 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort4.xsd +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort3.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort6.xsd similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort3.xsd rename to AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort6.xsd diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort61.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort61.xsd new file mode 100644 index 000000000..c57961560 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort61.xsd @@ -0,0 +1,775 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort2.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort62.xsd similarity index 83% rename from AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort2.xsd rename to AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort62.xsd index 9b66a8f22..615c22d7f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort2.xsd +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort62.xsd @@ -1,6 +1,6 @@ - + diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort63.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort63.xsd new file mode 100644 index 000000000..b021e6aa2 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort63.xsd @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort64.xsd similarity index 66% rename from AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.xsd rename to AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort64.xsd index fb3290b8e..ffb0042b2 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.xsd +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort64.xsd @@ -35,6 +35,8 @@ + + @@ -42,9 +44,11 @@ + + @@ -203,6 +207,11 @@ + + + + + @@ -221,9 +230,12 @@ + + + @@ -231,9 +243,553 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -305,329 +861,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -641,6 +874,7 @@ + @@ -672,6 +906,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -687,10 +944,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort5.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort65.xsd similarity index 68% rename from AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort5.xsd rename to AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort65.xsd index 467098f18..da94edbfe 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort5.xsd +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort65.xsd @@ -6,4 +6,10 @@ + + + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration.svcinfo b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration.svcinfo index ab12f5c8b..97f50818b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration.svcinfo +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration.svcinfo @@ -5,6 +5,6 @@ - + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration91.svcinfo b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration91.svcinfo index 61a51667e..a28424249 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration91.svcinfo +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration91.svcinfo @@ -1,5 +1,5 @@ - + @@ -127,10 +127,10 @@ - + - http://10.50.1.123:2070/Sinort.svc/soap + http://aya-vsrv-wstt:2005/Sinort.svc/soap diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js index 261abceb8..59fd1133f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js @@ -5,16 +5,16 @@ var RepositorioVirtual = $("#hiddenRepositorioVirtual").val(); var RepositorioLocal = $("#hiddenRepositorioLocal").val(); var UsuarioSistema = $("#hiddenUsuarioSistema").val(); var NombreUsuario = $("#hiddenNombreUsuario").val(); -var LinkPropuesta = "http://aya-vsrv-apptt:2525/PropuestaNormativa/DetallePropuesta?"; -var LinkSolicitudTarea = "http://localhost/AYA.SlnSinort/TareasPendientes"; -var LinkSolicitudResponder = "http://localhost/AYA.SlnSinort/NormativaReglamentacionTecnica/VerSolicitudes?"; +var LinkPropuesta = "http://10.50.1.97:6075/PropuestaNormativa/DetallePropuesta?"; +var LinkSolicitudTarea = "http://10.50.1.97:6075/Home/TareasPendientes"; +var LinkSolicitudResponder = "http://10.50.1.97:6075/NormativaReglamentacionTecnica/VerSolicitudes?"; //aya-vsrv-apptt:2525 -//10.50.1.97:6075 +//http://aya-vsrv-apptt:2525/Home/TareasPendientes //http://aya-vsrv-wstt:2005/Sinort.svc //http://aya-vsrv-wstt:2005/SinortCatalogos.svc -var server = window.location.protocol + "//" + "localhost" + "/" + (window.location.pathname.split('/')[1]) + "/"; -var SinorLoginWCF = "http://localhost/AYA.SlnSinort.WCF/Sinort.svc"; -var SinorSignupWCF = "http://localhost/AYA.SlnSinort.WCF/SinortCatalogos.svc"; +var server = window.location.protocol + "//" + "10.50.1.97:6075" + "/" + (window.location.pathname.split('/')[1]) + "/"; +var SinorLoginWCF = "http://10.50.1.123:2070/Sinort.svc"; +var SinorSignupWCF = "http://10.50.1.123:2070/SinortCatalogos.svc"; var string_empty = ""; var Atesa = {}; var StarterTemplateVisible = true; @@ -77,6 +77,7 @@ var Solicitud = { var Roles = { FuncionalExperto: { Codigo: 1, Descripcion: "Usuario funcional experto" }, + LiderSuplente: { Codigo: 2, Descripcion: "Líder suplente" }, } var Pantallas = { @@ -742,7 +743,7 @@ this.LoadMessage = function (Message) { stringHtml += "
"; stringHtml += ""; stringHtml += ""; - stringHtml += ""; + stringHtml += ""; stringHtml += ""; stringHtml += "
\"loading\"\"loading\"  "; stringHtml += "
" + Message + "
"; @@ -1809,10 +1810,10 @@ this.CerrarSesion = function () { contentType: "application/json; charset=utf-8", dataType: "json", success: function () { - document.location.href = "http://aya-vsrv-apptt:2525/"; + document.location.href = "http://10.50.1.97:6075/"; }, error: function () { - document.location.href = "http://aya-vsrv-apptt:2525/"; + document.location.href = "http://10.50.1.97:6075/"; } }); } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasNormativas.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasNormativas.js index a9c828426..4ce0dac6a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasNormativas.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasNormativas.js @@ -3,6 +3,7 @@ var Nombre; var IdGotita; var NombreDocumento; var DescTipoproyecto; +var FechaDocumentos; var modelDocumentoAdjunto; jQuery(document).ready(function () { @@ -136,7 +137,6 @@ jQuery(document).ready(function () { }); - }); @@ -171,8 +171,8 @@ this.GuardarGotitaNormativa = function () { Nombre: $("#txtNombre").val(), Descripcion: $("#txtDescripcion").val(), FechaCaducidad: $("#txtFechaCaducidad").DateFormatWCF(), - IdDocumentoAdjunto: IsNullOrEmpty(modelDocumentoAdjunto) ? 0 : modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto, - DescripcionDocumentoAdjunto: IsNullOrEmpty(modelDocumentoAdjunto) ? 0 : modelDocumentoAdjunto.Adjuntos.Nombre, + IdDocumentoAdjunto: IsNullOrEmpty(modelDocumentoAdjunto) ? null : modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto, + DescripcionDocumentoAdjunto: IsNullOrEmpty(modelDocumentoAdjunto) ? null : modelDocumentoAdjunto.Adjuntos.Nombre, Estado: 1, UsuarioCreacion: UsuarioSistema @@ -202,6 +202,8 @@ this.LimpiarControles = function () { //Adjuntos this.AbrirAdjuntos = function () { DescTipoproyecto = 'Gotita Normativa'; + var dt = new Date(); + FechaDocumentos = dt.getDate() + "_" + (dt.getMonth() + 1) + "_" + dt.getFullYear() + "_" + dt.getHours() + "" + dt.getMinutes() + "" + dt.getSeconds(); ActualizarUpload(); $('#modalDocumentosAuxiliares').modal('show'); } @@ -213,8 +215,12 @@ this.GuardarAdjuntos = function (nombre) { var ruta = DescTipoproyecto + '\\' + nombredoc; var Idetipoproyecto = 4; + var Arraynombre = []; Arraynombre = nombredoc.split("."); + var nom = Arraynombre[0]; + var ext = Arraynombre[Arraynombre.length - 1]; + ruta = nom + FechaDocumentos + '.' + ext; var AdjuntosDocumentosAuxiliar @@ -225,7 +231,8 @@ this.GuardarAdjuntos = function (nombre) { DescTipoDocumento: DescTipoproyecto, RutaFisica: RepositorioLocal + ruta, RutaDescarga: RepositorioVirtual + ruta, - TipoArchivo: Arraynombre.pop() + TipoArchivo: Arraynombre.pop(), + TipoExpediente: null } model.Adjuntos = AdjuntosDocumentosAuxiliar; @@ -238,11 +245,16 @@ function ActualizarUpload() { $('#fileupload').fileupload({ - url: FileUploadHandler + '/FileUploadHandler.ashx?tipo=' + DescTipoproyecto, + url: FileUploadHandler + '/FileUploadHandler.ashx?tipo=' + FechaDocumentos, type: 'POST', add: function (e, data) { + if ($('#txtDescripcionDocAux').val() == '') { + toastr.warning("El nombre del documento es requerido", Message_Warning); + return; + } + data.submit(); }, progress: function (e, data) { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js index 7ff4f0b90..96364f5e0 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js @@ -12,6 +12,9 @@ jQuery(document).ready(function () { $('#tableGotitasPendientes').DataTable().column(3).visible(false); getDataModel(); + + + }); this.getDataModel = function () { CargarGotitasPendientes(); @@ -32,7 +35,7 @@ this.CargarGotitasPendientes = function () { var uri = SinortWCF + '/api/ObtenerGotitasPendientes'; var model = { - codigo: 'josnunez' + codigo: UsuarioSistema } @@ -87,8 +90,13 @@ $('#tableGotitasPendientes').on('click', 'button', function () { $('#modalVer').modal('show'); $('#txtTitulo').val(InfoINombre); - $('#txtAreaDescripcion').val(InfoIDescripcion); + //$('#richText-dgbcu').val(InfoIDescripcion); $('#txtFechaCaducidad').val(InfoIFechaCaducidad); + + $("#txtAreaDescripcion").val(InfoIDescripcion.html); + + + } }); \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js index 684ca6456..cfeb75848 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js @@ -56,13 +56,16 @@ $('#txtUsuarioUnico').change(function () { this.ObtenerUsuarioAD = function () { - var uri = SinorLoginWCF + '/api/ObtenerUsuarioAD'; + + var uri ='Login/ObtenerUsuarioAD'; model = { Usuario: $('#txtUsuarioUnico').val(), Contrasena: $('#txtContrasena').val() } - AjaxPostData(uri, model, false, true, VerificarUsurarioBD, null,null); + AjaxPostData(uri, model, false, true, VerificarUsurarioBD, null, null); + + } @@ -71,7 +74,7 @@ this.VerificarUsurarioBD = function (data) { if (data.CodigoRespuesta == 'EXITOSO') { - var uri = SinorLoginWCF + '/api/VerificarUsuarioBD'; + var uri = 'Login/VerificarUsuarioBD'; model = { codigo: data.LoginUsuario } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js index c32547843..76d716ec8 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js @@ -40,8 +40,8 @@ jQuery(document).ready(function () { ObtenerFichaTecnicaHistorico(); } else { ObtenerFichaTecnicaAlerta(); - ObtenerFicha(); - } + ObtenerFicha(); + } } else { CargarEstado(); $('#divGuMo').show(); @@ -378,6 +378,10 @@ this.GuardarFichaTecnica = function () { } LimpiarControles(); + if (IDFicha != null && IDFicha != "[$id]") { + document.location.href = "http://localhost/AYA.SlnSinort/Home/Normativa_Reglamentacion_Tecnica?solicitud=`"; + } + //location.replace("javascript: EntrarVerEstadoFicha('1');"); } @@ -386,7 +390,7 @@ this.GuardarGotitaNormativa = function () { fecha.setMonth(fecha.getMonth() + 1); GotitaNormativa = { - Nombre: "!Informate¡", + Nombre: "¡Informate!", Descripcion: "Nuevo documento normativo. " + $('#txtDescripcionDocAux').val(), FechaCaducidad: fecha, IdDocumentoAdjunto: null, @@ -797,22 +801,21 @@ this.CargarFormulario = function (data) { ENDREQUEST(); return; } - + if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 8) { if (ValidarPermisos('Administrador Funcional').length <= 0) DeshabilitarCampos(); else { - $('#panelBotones').show(); - $('#divGuMo').show(); + $('#panelBotones').show(); + $('#divGuMo').show(); if (UsuarioAlerta) { $('#btnDesactivarAlerta').show(); - } + } else { $('#btnAlerta').show(); } } - } if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 10) { @@ -962,7 +965,7 @@ this.CargarGridPalabraClaveFichaTecnica = function (data) { var tablePalabraClave = $('#tablePalabraClave').DataTable(); var lista = data; - + var nombrepalabra; $.each(lista, function (key, item) { var option = $("#ucItemsEliminar").html(); @@ -973,7 +976,11 @@ this.CargarGridPalabraClaveFichaTecnica = function (data) { item.Descripcion, option]).draw(); + nombrepalabra = item.Descripcion + " ," + }); + $("#txtListaPalabraClave").val(nombrepalabra); + ENDREQUEST(); } @@ -1019,12 +1026,6 @@ this.AgregarPalabraClave = function () { var option = $("#ucItemsEliminar").html(); - //var a = $("#hiddenPalabraClave").val(); - - //tablePalabraClave.row.add([2, - // 'dd', - // option]).draw(); - var rowAdd = tablePalabraClave.row.add( [$("#hiddenPalabraClave").val(), $("#txtPalabraClave").val(), @@ -1037,6 +1038,20 @@ this.AgregarPalabraClave = function () { toastr.success(Message_Default, Message_Success); $('#hiddenPalabraClave').val(''); $('#txtPalabraClave').val(''); + $('#txtListaPalabraClave').val(''); + var nombrepalabra = ""; + tablePalabraClave = $('#tablePalabraClave').DataTable(); + + var data = tablePalabraClave + .rows() + .data(); + + $.each(data, function (key, item) { + + nombrepalabra =nombrepalabra + item[1] + ", " + }); + + $('#txtListaPalabraClave').val(nombrepalabra); } this.LimpiarPalabraClave = function () { @@ -1099,11 +1114,13 @@ function ActualizarUpload() { return; } ValidarNombre(); - if (ExisteNombreDoc) - { + if (ExisteNombreDoc) { toastr.warning("El nombre del documento ya existe", Message_Warning); return; } + + var fr = new FileReader(); + fr.readAsArrayBuffer(data.files[0]); data.submit(); }, progress: function (e, data) { @@ -1124,7 +1141,11 @@ function ActualizarUpload() { success: function (response, status) { + if (response.indexOf('Success') > -1){ GuardarAdjuntos(NombreDocumento); + } else { + toastr.warning("Error al adjuntar el archivo", Message_Warning); + } $('#progress .progress-bar').css( 'width', '0%'); ENDREQUEST(); @@ -1206,6 +1227,18 @@ $('#tableDocFichaTecnica').on('click', 'button', function () { }); //fin adjuntos +this.ValidarNombre = function () { + model = { + Nombre: $('#txtDescripcionDocAux').val() + } + var uri = SinortWCF + '/api/VerificarNombre'; + AjaxPostData(uri, model, false, false, ExisteNombre, null, null); +} +this.ExisteNombre = function (data) { + if (data > 0) + ExisteNombreDoc = true; +} + this.DivulgarFichaTecnica = function () { var identificacion = $("#ucIdentificacion").html(); @@ -1334,6 +1367,7 @@ this.EnviarCorreoDivulgar = function () { model.Mensaje = $("#txtMensaje").val(); model.PlantillaEmail = Plantilla; model.ListaParticipantes = ArrayDestinatarios; + model.Link = window.location.href; AjaxPostData(uri, model, false, true, null, null, null); $('#modalDivulgar').modal('hide'); @@ -1426,6 +1460,8 @@ this.EnviarCorreoAlerta = function () { var uri = SinortWCF + '/api/EnviarCorreoFichaTecnica'; model.FichaTecnica = FichaTecnica; model.PlantillaEmail = Plantilla; + model.Link = window.location.href; + AjaxPostData(uri, model, false, true, null, null, null); } @@ -1648,6 +1684,22 @@ $('#tablePalabraClave').on('click', 'button', function () { var tablePalabraClave = $('#tablePalabraClave').DataTable(); tablePalabraClave.row($(this).parents('tr')).remove().draw(); + + $('#txtListaPalabraClave').val(''); + var nombrepalabra = ""; + tablePalabraClave = $('#tablePalabraClave').DataTable(); + + var data = tablePalabraClave + .rows() + .data(); + + $.each(data, function (key, item) { + + nombrepalabra = nombrepalabra + item[1] + ", " + }); + + $('#txtListaPalabraClave').val(nombrepalabra); + }); $('#tablePalabrasClaves').on('click', 'button', function () { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/Solicitud.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/Solicitud.js index 87551db30..024bfb5d1 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/Solicitud.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/Solicitud.js @@ -13,7 +13,8 @@ jQuery(document).ready(function () { CargarTipoSolicitud(); getDataModel(); - + + $('#tableDocSolicitud').TableInit(0, false, false, false, false, null, null); $('#tableDocSolicitud').DataTable().column(0).visible(false); $('#tableDocSolicitud').DataTable().column(4).visible(false); @@ -274,6 +275,9 @@ this.ObtenerUsuarioRol = function (data) { if (modelPost.listaCodigos.indexOf(1) == -1) modelPost.listaCodigos.push(Roles.FuncionalExperto.Codigo); + if (modelPost.listaCodigos.indexOf(2) == -1) + modelPost.listaCodigos.push(Roles.LiderSuplente.Codigo); + var uri = CatalogosWCF + '/api/ObtenerUsuariosRol'; AjaxPostData(uri, modelPost, false, false, GuardarTareasPendientes, null, null); @@ -311,7 +315,7 @@ this.GuardarTareasPendientes = function (data) { AjaxPostData(uri, model, false, true, null, null, null); - //EnviarCorreo(); + EnviarCorreo(); LimpiarSolicitud(); //location.reload(); @@ -329,7 +333,7 @@ this.EnviarCorreo = function () { model.Link = LinkSolicitudTarea; model.ListaUsuariosCorreo = ListaUsuariosCorreo; model.IdSolicitud = IdSolicitud; - AjaxPostData(uri, model, false, false, null, null, null); + AjaxPostData(uri, model, false, true, null, null, null); ENDREQUEST(); @@ -342,8 +346,8 @@ this.LeerFormulario = function () { var Solicitud = { IdTipoSolicitud: IdTipoSolicitud, - IdDocumento: IsNullOrEmpty(modelDocumentoAdjunto) ? 0 : modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto, - DescripcionDocumento: IsNullOrEmpty(modelDocumentoAdjunto) ? 0 : modelDocumentoAdjunto.Adjuntos.Nombre, + IdDocumento: IsNullOrEmpty(modelDocumentoAdjunto) ? null : modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto, + DescripcionDocumento: IsNullOrEmpty(modelDocumentoAdjunto) ? null : modelDocumentoAdjunto.Adjuntos.Nombre, DescripcionTipoSolicitud: DescTipoSolicitud, UsuarioSistema: $("#txtUsuarioSistema").val(), CargoActual: $("#txtCargoActual").val(), diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Home/GotitasNormativas.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Home/GotitasNormativas.cshtml index 5ea2c322a..1e39b4d26 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Home/GotitasNormativas.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Home/GotitasNormativas.cshtml @@ -100,14 +100,15 @@
@*---------------------Descripción ---------------------------------------------------------*@ -
- -
- + +
+ +
+
@*---------------------Comentario ---------------------------------------------------------*@ -
+