diff --git a/AYA.SlnSynor/AYA.SlnSinort.sln b/AYA.SlnSynor/AYA.SlnSinort.sln index a1faae51b..c10d06829 100644 --- a/AYA.SlnSynor/AYA.SlnSinort.sln +++ b/AYA.SlnSynor/AYA.SlnSinort.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 -VisualStudioVersion = 12.0.21005.1 +VisualStudioVersion = 12.0.40629.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinort", "AYA.SlnSynor\AYA.SlnSinort.csproj", "{D672EAD6-E8C6-4374-B149-DED461546905}" EndProject diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Global.asax.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/Global.asax.cs index 96013e459..70c100a30 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Global.asax.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Global.asax.cs @@ -22,7 +22,7 @@ namespace AYA.SlnSinort.WCF protected void Application_BeginRequest(object sender, EventArgs e) { - + HttpContext.Current.Response.AddHeader("Access-Control-Allow-Origin", "*"); if (HttpContext.Current.Request.HttpMethod == "OPTIONS") { HttpContext.Current.Response.AddHeader("Access-Control-Allow-Methods", "POST, PUT, DELETE"); diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs index beb8b1a4b..6d6ac8460 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs @@ -1,5 +1,6 @@  using Atesa.Utilitarios; +using AYA.SlnSinort.WCF; using AYA.SlnSinortModel.Entidades; using AYA.SlnSinortModel.Sinort; using System; @@ -80,7 +81,9 @@ namespace AYA.SlnSinort.WCF #endregion #region Login + [OperationContract] + //[WebInvoke(UriTemplate = "/ObtenerUsuarioAD?model", Method = "POST", BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = WebMessageFormat.Json)] LoginJSON ObtenerUsuarioAD(LoginJSON model); [OperationContract] @@ -99,4 +102,6 @@ namespace AYA.SlnSinort.WCF #endregion } + } + diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs index 5a6fc1de7..9deda7618 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs @@ -8,6 +8,7 @@ using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; +using System.ServiceModel.Web; using System.Text; using System.Threading.Tasks; @@ -17,7 +18,7 @@ namespace AYA.SlnSinort.WCF public interface ISinortCatalogos { - + #region Mantenimiento [OperationContract] List ObtenerMantenimientoCatalogos(); diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs index 0492791a9..82d41f2b8 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs @@ -326,7 +326,7 @@ namespace AYA.SlnSinort.WCF correo.ASUNTO = plantilla.Subject.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo); body = plantilla.Body.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo).Replace("$Usuario", usuario.NombreUsuario).Replace("|", "
"); email = usuario.EmailUsuario; - correo.DESTINATARIOS = "jnunez@atesacr.com"; + correo.DESTINATARIOS = email; correo.CUERPO = body; respuesta = respuestaAyA.enviarCorreo(correo); @@ -345,7 +345,7 @@ namespace AYA.SlnSinort.WCF body = plantilla.Body.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo).Replace("$FechaMaxima", Convert.ToString(model.ProyectoNormativo.FechaMaximaConfirmarParticipacion)).Replace("$Usuario", usuario.NombreUsuario).Replace("|", "
"); correo.CUERPO = body; email = usuario.EmailUsuario; - correo.DESTINATARIOS = "jnunez@atesacr.com"; + correo.DESTINATARIOS = email; respuesta = respuestaAyA.enviarCorreo(correo); } @@ -364,7 +364,7 @@ namespace AYA.SlnSinort.WCF body = plantilla.Body.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo).Replace("$FechaMaxima", Convert.ToString(model.ProyectoNormativo.FechaMaximaConfirmarParticipacion)).Replace("$Usuario", usuario.NombreUsuario).Replace("|", "
"); correo.CUERPO = body; email = usuario.EmailUsuario; - correo.DESTINATARIOS = "jnunez@atesacr.com"; + correo.DESTINATARIOS = email; respuesta = respuestaAyA.enviarCorreo(correo); } @@ -384,7 +384,7 @@ namespace AYA.SlnSinort.WCF catalogo.codigo = tareas.PromotorProyectoNormativo; usuario = UsuarioDAL.BuscarUsuario(catalogo); email = usuario.EmailUsuario; - correo.DESTINATARIOS = "jnunez@atesacr.com"; + correo.DESTINATARIOS = email; correo.CUERPO = body; respuesta = respuestaAyA.enviarCorreo(correo); @@ -405,7 +405,7 @@ namespace AYA.SlnSinort.WCF catalogo.codigo = tareas.PromotorProyectoNormativo; usuario = UsuarioDAL.BuscarUsuario(catalogo); email = usuario.EmailUsuario; - correo.DESTINATARIOS = "jnunez@atesacr.com"; + correo.DESTINATARIOS = email; correo.CUERPO = body; respuesta = respuestaAyA.enviarCorreo(correo); @@ -631,7 +631,7 @@ namespace AYA.SlnSinort.WCF catch (Exception ex) { - model.CodigoRespuesta = EnumTipoCodigoRespuesta.ERROR; + log.Error(ex); } return model; diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config index 87c4f9aea..cc5d1b2c9 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config @@ -6,7 +6,7 @@ - + @@ -59,7 +59,7 @@ - diff --git a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj index 4114b0db5..3497edc91 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj +++ b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj @@ -208,6 +208,11 @@ + + True + True + Reference.svcmap + @@ -7153,6 +7158,15 @@ + + + + + + + + + @@ -7310,6 +7324,13 @@ + + + + + WCF Proxy Generator + Reference.cs + @@ -7394,6 +7415,25 @@ + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + @@ -7420,6 +7460,9 @@ + + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs index 3d9704b9e..5b147802c 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs @@ -16,7 +16,8 @@ namespace AYA.SlnSinort routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", - defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } + defaults: new { controller = "Login", action = "Login", id = UrlParameter.Optional } + ); } } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs index 8b52c8194..2017d94b6 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs @@ -4,6 +4,8 @@ using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; +using System.Threading.Tasks; +using AYA.SlnSinortModel.Entidades; namespace AYA.SlnSinort.Controllers.Login { @@ -15,6 +17,23 @@ namespace AYA.SlnSinort.Controllers.Login InitControllers(); return View(); } + [HttpPost] + public JsonResult ObtenerUsuarioAD(LoginJSON model) + { + + try + { + ServicioSinortWCF.SinortClient respuesta = new ServicioSinortWCF.SinortClient(); + model = respuesta.ObtenerUsuarioAD(model); + + + } + catch (Exception ex) + { + + } + return Json(model, JsonRequestBehavior.AllowGet); + } public void InicioSesion(AtesaJSON model) { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/PropuestaNormativaController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/PropuestaNormativaController.cs index 5a3c54dcc..2e73a9d63 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/PropuestaNormativaController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/PropuestaNormativaController.cs @@ -6,7 +6,7 @@ using System.Web.Mvc; namespace AYA.SlnSinort.Controllers.PropuestaNormativa { - //[LoggingFilter] + [LoggingFilter] public class PropuestaNormativaController : BaseController { diff --git a/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs b/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs index b40e62b91..b514430ee 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/FileUploadHandler/FileUploadHandler.ashx.cs @@ -5,6 +5,7 @@ using System.Web; using System.Configuration; using System.IO; using System.Web.Script.Serialization; +using System.Security.AccessControl; namespace webAgenciaVirtual { @@ -22,12 +23,12 @@ namespace webAgenciaVirtual string pathrefer = context.Request.UrlReferrer.ToString(); //string Serverpath = HttpContext.Current.Server.MapPath("DocumentosSINORT"); string Serverpath = ConfigurationManager.AppSettings["FileRepository"].ToString(); - if (context.Request.QueryString["id"] != null){ + //if (context.Request.QueryString["id"] != null){ Serverpath += context.Request.QueryString["tipo"].ToString() + "\\" + context.Request.QueryString["id"].ToString() + "\\" + context.Request.QueryString["carpeta"].ToString(); - }else - { - Serverpath += context.Request.QueryString["tipo"].ToString(); - } + //}else + //{ + //Serverpath += context.Request.QueryString["tipo"].ToString(); + //} var postedFile = context.Request.Files[0]; string ext = Path.GetExtension(postedFile.FileName); //if (ext == ".pdf" || ext == ".PDF") @@ -44,10 +45,12 @@ namespace webAgenciaVirtual { file = postedFile.FileName.Replace(" ", "_"); } - + DirectorySecurity securityRules = new DirectorySecurity(); + securityRules.AddAccessRule(new FileSystemAccessRule(@"intranet.aya.go.cr\josnunez", FileSystemRights.Read, AccessControlType.Allow)); + securityRules.AddAccessRule(new FileSystemAccessRule(@"intranet.aya.go.cr\josnunez", FileSystemRights.FullControl, AccessControlType.Allow)); file = postedFile.FileName.Replace(" ", "_"); if (!Directory.Exists(Serverpath)) - Directory.CreateDirectory(Serverpath); + Directory.CreateDirectory(Serverpath,securityRules); string fileDirectory = Serverpath; if (context.Request.QueryString["fileName"] != null) @@ -59,6 +62,12 @@ namespace webAgenciaVirtual } } + + + + + + //string ext = Path.GetExtension(fileDirectory + "\\" + file); //file = Guid.NewGuid() + ext; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs b/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs index 7a0a82354..6fb84f355 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs @@ -19,5 +19,18 @@ namespace AYA.SlnSinort RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); } + protected void Application_BeginRequest(object sender, EventArgs e) + { + HttpContext.Current.Response.AddHeader("Access-Control-Allow-Origin", "*"); + if (HttpContext.Current.Request.HttpMethod == "OPTIONS") + { + HttpContext.Current.Response.AddHeader("Access-Control-Allow-Methods", "POST, PUT, DELETE"); + + HttpContext.Current.Response.AddHeader("Access-Control-Allow-Headers", "Content-Type, Accept"); + HttpContext.Current.Response.AddHeader("Access-Control-Max-Age", "1728000"); + HttpContext.Current.Response.End(); + } + } + } } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.AdjuntosJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.AdjuntosJSON.datasource new file mode 100644 index 000000000..f198059e4 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.AdjuntosJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.AdjuntosJSON, 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.CatalogosPostJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.CatalogosPostJSON.datasource new file mode 100644 index 000000000..35563a292 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.CatalogosPostJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.CatalogosPostJSON, 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.FichaTecnicaJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.FichaTecnicaJSON.datasource new file mode 100644 index 000000000..f44e86d44 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.FichaTecnicaJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.FichaTecnicaJSON, 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.LoginJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.LoginJSON.datasource new file mode 100644 index 000000000..52f587bcb --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.LoginJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.LoginJSON, 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.NotificacionesJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.NotificacionesJSON.datasource new file mode 100644 index 000000000..948c85cc7 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.NotificacionesJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.NotificacionesJSON, 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.ProyectoNormativoJSON.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON.datasource new file mode 100644 index 000000000..74e0632d3 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON, 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.DocumentosAdjuntos.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.DocumentosAdjuntos.datasource new file mode 100644 index 000000000..2ce91111c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.DocumentosAdjuntos.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Sinort.DocumentosAdjuntos, 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.Pantallas.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.Pantallas.datasource new file mode 100644 index 000000000..8cda4fdda --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.Pantallas.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Sinort.Pantallas, 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.TareasPendientes.datasource b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.TareasPendientes.datasource new file mode 100644 index 000000000..fbf73871c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/DataSources/AYA.SlnSinortModel.Sinort.TareasPendientes.datasource @@ -0,0 +1,10 @@ + + + + AYA.SlnSinortModel.Sinort.TareasPendientes, AYA.SlnSinortModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ 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 new file mode 100644 index 000000000..3515ccba6 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.cs @@ -0,0 +1,419 @@ +//------------------------------------------------------------------------------ +// +// 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.ServicioSinortWCF { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServicioSinortWCF.ISinort")] + public interface ISinort { + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarProyectoNormativoResponse")] + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [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/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/ObtenerProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/ObtenerProyectoNormativoResponse")] + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON ObtenerProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/ObtenerProyectoNormativoResponse")] + System.Threading.Tasks.Task ObtenerProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreo", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoResponse")] + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON EnviarCorreo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/EnviarCorreo", ReplyAction="http://tempuri.org/ISinort/EnviarCorreoResponse")] + System.Threading.Tasks.Task EnviarCorreoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarComentarioProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarComentarioProyectoNormativoResponse")] + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarComentarioProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarComentarioProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarComentarioProyectoNormativoResponse")] + System.Threading.Tasks.Task GuardarComentarioProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarEventoProyectoNormativo", ReplyAction="http://tempuri.org/ISinort/GuardarEventoProyectoNormativoResponse")] + AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarEventoProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model); + + [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/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/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/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/GuardarAdjuntos", ReplyAction="http://tempuri.org/ISinort/GuardarAdjuntosResponse")] + AYA.SlnSinortModel.Entidades.AdjuntosJSON GuardarAdjuntos(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/GuardarAdjuntos", ReplyAction="http://tempuri.org/ISinort/GuardarAdjuntosResponse")] + System.Threading.Tasks.Task GuardarAdjuntosAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerAdjuntos", ReplyAction="http://tempuri.org/ISinort/ObtenerAdjuntosResponse")] + AYA.SlnSinortModel.Sinort.DocumentosAdjuntos[] ObtenerAdjuntos(AYA.SlnSinortModel.Entidades.AdjuntosJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerAdjuntos", ReplyAction="http://tempuri.org/ISinort/ObtenerAdjuntosResponse")] + 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/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/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/ObtenerUsuarioAD", ReplyAction="http://tempuri.org/ISinort/ObtenerUsuarioADResponse")] + AYA.SlnSinortModel.Entidades.LoginJSON ObtenerUsuarioAD(AYA.SlnSinortModel.Entidades.LoginJSON model); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISinort/ObtenerUsuarioAD", ReplyAction="http://tempuri.org/ISinort/ObtenerUsuarioADResponse")] + 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/ObtenerPermisos", ReplyAction="http://tempuri.org/ISinort/ObtenerPermisosResponse")] + System.Threading.Tasks.Task ObtenerPermisosAsync(Atesa.Utilitarios.AtesaJSON model); + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface ISinortChannel : AYA.SlnSinort.ServicioSinortWCF.ISinort, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class SinortClient : System.ServiceModel.ClientBase, AYA.SlnSinort.ServicioSinortWCF.ISinort { + + public SinortClient() { + } + + public SinortClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public SinortClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public SinortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public SinortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarProyectoNormativo(model); + } + + public System.Threading.Tasks.Task GuardarProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarProyectoNormativoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarConvocatoriaProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarConvocatoriaProyectoNormativo(model); + } + + public System.Threading.Tasks.Task GuardarConvocatoriaProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarConvocatoriaProyectoNormativoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON ObtenerProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.ObtenerProyectoNormativo(model); + } + + public System.Threading.Tasks.Task ObtenerProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.ObtenerProyectoNormativoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON EnviarCorreo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.EnviarCorreo(model); + } + + public System.Threading.Tasks.Task EnviarCorreoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.EnviarCorreoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarComentarioProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarComentarioProyectoNormativo(model); + } + + public System.Threading.Tasks.Task GuardarComentarioProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarComentarioProyectoNormativoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON GuardarEventoProyectoNormativo(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarEventoProyectoNormativo(model); + } + + public System.Threading.Tasks.Task GuardarEventoProyectoNormativoAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.GuardarEventoProyectoNormativoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnica(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnica(model); + } + + public System.Threading.Tasks.Task GuardarFichaTecnicaAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaAsync(model); + } + + public AYA.SlnSinortModel.Entidades.FichaTecnicaJSON GuardarFichaTecnicaPalabraClave(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaPalabraClave(model); + } + + public System.Threading.Tasks.Task GuardarFichaTecnicaPalabraClaveAsync(AYA.SlnSinortModel.Entidades.FichaTecnicaJSON model) { + return base.Channel.GuardarFichaTecnicaPalabraClaveAsync(model); + } + + public AYA.SlnSinortModel.Entidades.AdjuntosJSON RemoverAdjunto(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.RemoverAdjunto(model); + } + + public System.Threading.Tasks.Task RemoverAdjuntoAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.RemoverAdjuntoAsync(model); + } + + public AYA.SlnSinortModel.Entidades.AdjuntosJSON GuardarAdjuntos(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.GuardarAdjuntos(model); + } + + public System.Threading.Tasks.Task GuardarAdjuntosAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.GuardarAdjuntosAsync(model); + } + + public AYA.SlnSinortModel.Sinort.DocumentosAdjuntos[] ObtenerAdjuntos(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.ObtenerAdjuntos(model); + } + + public System.Threading.Tasks.Task ObtenerAdjuntosAsync(AYA.SlnSinortModel.Entidades.AdjuntosJSON model) { + return base.Channel.ObtenerAdjuntosAsync(model); + } + + public AYA.SlnSinortModel.Sinort.TareasPendientes[] ObtenerTareasPendientes(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.ObtenerTareasPendientes(model); + } + + public System.Threading.Tasks.Task ObtenerTareasPendientesAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.ObtenerTareasPendientesAsync(model); + } + + public AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON InsertarActualizarTareasPendientes(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.InsertarActualizarTareasPendientes(model); + } + + public System.Threading.Tasks.Task InsertarActualizarTareasPendientesAsync(AYA.SlnSinortModel.Entidades.ProyectoNormativoJSON model) { + return base.Channel.InsertarActualizarTareasPendientesAsync(model); + } + + public AYA.SlnSinortModel.Entidades.NotificacionesJSON ObtenerCantidadTareasPendientes(AYA.SlnSinortModel.Entidades.NotificacionesJSON model) { + return base.Channel.ObtenerCantidadTareasPendientes(model); + } + + public System.Threading.Tasks.Task ObtenerCantidadTareasPendientesAsync(AYA.SlnSinortModel.Entidades.NotificacionesJSON model) { + return base.Channel.ObtenerCantidadTareasPendientesAsync(model); + } + + public AYA.SlnSinortModel.Entidades.LoginJSON ObtenerUsuarioAD(AYA.SlnSinortModel.Entidades.LoginJSON model) { + return base.Channel.ObtenerUsuarioAD(model); + } + + public System.Threading.Tasks.Task ObtenerUsuarioADAsync(AYA.SlnSinortModel.Entidades.LoginJSON model) { + return base.Channel.ObtenerUsuarioADAsync(model); + } + + public AYA.SlnSinortModel.Entidades.CatalogosPostJSON VerificarUsuarioBD(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.VerificarUsuarioBD(model); + } + + public System.Threading.Tasks.Task VerificarUsuarioBDAsync(AYA.SlnSinortModel.Entidades.CatalogosPostJSON model) { + return base.Channel.VerificarUsuarioBDAsync(model); + } + + public AYA.SlnSinortModel.Sinort.Pantallas[] ObtenerPermisos(Atesa.Utilitarios.AtesaJSON model) { + return base.Channel.ObtenerPermisos(model); + } + + public System.Threading.Tasks.Task ObtenerPermisosAsync(Atesa.Utilitarios.AtesaJSON model) { + return base.Channel.ObtenerPermisosAsync(model); + } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap new file mode 100644 index 000000000..ff4757725 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Reference.svcmap @@ -0,0 +1,38 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + + + + + + + + \ 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/Sinort.disco new file mode 100644 index 000000000..02464915c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.disco @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl new file mode 100644 index 000000000..4b1fcffdb --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.wsdl @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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.xsd b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.xsd new file mode 100644 index 000000000..fb3290b8e --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort.xsd @@ -0,0 +1,696 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 new file mode 100644 index 000000000..f2c9f8005 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort1.xsd @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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/Sinort2.xsd new file mode 100644 index 000000000..9b66a8f22 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort2.xsd @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ 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/Sinort3.xsd new file mode 100644 index 000000000..32e1c19af --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort3.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 new file mode 100644 index 000000000..3b9205a84 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort4.xsd @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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/Sinort5.xsd new file mode 100644 index 000000000..467098f18 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/Sinort5.xsd @@ -0,0 +1,9 @@ + + + + + + + + + \ 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 new file mode 100644 index 000000000..ab12f5c8b --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration.svcinfo @@ -0,0 +1,10 @@ + + + + + + + + + + \ 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 new file mode 100644 index 000000000..61a51667e --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynor/Service References/ServicioSinortWCF/configuration91.svcinfo @@ -0,0 +1,216 @@ + + + + + + + WSHttpBinding_ISinort + + + + + + + + + + + + + + + + + + False + + + StrongWildcard + + + + + + + + + Text + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement + + + True + + + 00:10:00 + + + False + + + System.Text.UTF8Encoding + + + + + + + + + System.ServiceModel.Configuration.WSHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.WSHttpTransportSecurityElement + + + Windows + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Collection) + + + + + + System.ServiceModel.Configuration.NonDualMessageSecurityOverHttpElement + + + Windows + + + True + + + Default + + + True + + + + + + + + + http://10.50.1.123:2070/Sinort.svc/soap + + + + + + wsHttpBinding + + + WSHttpBinding_ISinort + + + ServicioSinortWCF.ISinort + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + WSHttpBinding_ISinort + + + + + + + + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js index e68ad6555..45d0f8b08 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js @@ -718,7 +718,7 @@ this.LoadMessage = function (Message) { stringHtml += "
"; stringHtml += ""; stringHtml += ""; - stringHtml += ""; + stringHtml += ""; stringHtml += ""; stringHtml += "
\"loading\"\"loading\"  "; stringHtml += "
" + Message + "
"; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js index b94282e6e..139d94c1c 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js @@ -46,8 +46,8 @@ this.ObtenerUsuarioAD = function () { Usuario: $('#txtUsuarioUnico').val(), Contrasena: $('#txtContrasena').val() } - - AjaxPostData(uri, model, false, true, VerificarUsurarioBD, null, null); + + AjaxPostData(uri, model, false, true, VerificarUsurarioBD, null,null); } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js index 0b684cf42..6a57499a3 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js @@ -11,7 +11,7 @@ this.CargarMantenimiento = function () { var uri = CatalogosWCF + '/api/ObtenerMantenimientoCatalogos'; - AjaxPostData(uri, Item, true, false, CargarTablaMantenimiento, null, null); + AjaxPostData(uri, null, false, false, CargarTablaMantenimiento, null, null); } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js index ce3344f65..d0d6bc331 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js @@ -81,23 +81,52 @@ jQuery(document).ready(function () { EsPromotor = true; } - if (EsPromotor == false) { + if (EsForo) { + if (EsPromotor == false) { + + if (ValidarPermisos('Ingreso y actualización de área de foro').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) { + $("#tabs").tabs({ + disabled: [2] + }); + } + + if (ValidarPermisos('Accesar expediente de foro').length <= 0 || Estado != Estados.Contruccion.Codigo) { + if (ValidarPermisos('Super Usuario').length <= 0 || Estado != Estados.Contruccion.Codigo) { + $("#tabs").tabs({ + disabled: [3] + }); + } + + } - if (ValidarPermisos('Ingreso y actualización de área de proyecto').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) { - $("#tabs").tabs({ - disabled: [2] - }); } + } else + { + if (EsPromotor == false) { + + if (ValidarPermisos('Ingreso y actualización de área de proyecto').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) { + if (ValidarPermisos('Super Usuario').length <= 0) { + $("#tabs").tabs({ + disabled: [2] + }); + } + + } + + if (ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0 || Estado != Estados.Contruccion.Codigo) { + if (ValidarPermisos('Super Usuario').length <= 0 || Estado != Estados.Contruccion.Codigo) { + $("#tabs").tabs({ + disabled: [3] + }); + } + + } - if (ValidarPermisos('Accesar expediente de foro').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) { - $("#tabs").tabs({ - disabled: [3] - }); } - } + }); this.getDataModel = function () { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Foro.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Foro.js index abb9b8fca..e9ddc6e05 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Foro.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Foro.js @@ -137,7 +137,11 @@ this.GuardarForo = function () { toastr.warning("Ingresar todos los campos que son requeridos."); return false; } - + if ($("#txtNombreProyecto").val() == '' || $("#txtPromotorProyecto").val() == '' || $("#txtFechaInicio").val() == '' || $("#txtFechaFinalizacion").val() == '' + || $("#txtFechaMaximaConfirmarParticipacion").val() == '') { + toastr.warning("Todos los campos que son requeridos."); + return false; + } if (!confirm("Va a ingresar un nuevo foro .\n ¿Desea continuar?")) { return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Historico.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Historico.js index a66185e56..e47b4a1a3 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Historico.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/Historico.js @@ -9,7 +9,7 @@ jQuery(document).ready(function () { this.CargarSitios = function () { var uri = CatalogosWCF + '/api/Historico'; - AjaxPostData(uri, Item, true, true, CargarTablaSitios, null, null); + AjaxPostData(uri, Item, true, false, CargarTablaSitios, null, null); } this.CargarTablaSitios = function (data) { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js index 6b45007a1..d630f5c94 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js @@ -272,6 +272,12 @@ this.GuardarPropuesta = function () { toastr.warning("Ingresar todos los campos que son requeridos."); return false; } + if ($("#txtNombreProyecto").val() == '' || $("#txtPromotorProyecto").val() == '' || $("#txtFechaInicio").val() == '' || $("#txtFechaFinalizacion").val() == '' + || $("#txtFechaMaximaConfirmarParticipacion").val() == '' || $("#txtEmisor").val() == '' || $("#txtAplicacion").val() == '') { + toastr.warning("Todos los campos que son requeridos."); + return false; + } + if (!confirm("Va a ingresar una nueva propuesta normativa .\n ¿Desea continuar?")) { return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js index 8f3c2af01..41f333759 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js @@ -49,11 +49,16 @@ $('#tableSitios').on('click', 'button', function () { var data = $('#tableSitios').DataTable().row($(this).parents('tr')).data(); + + if (data.PromotorProyecto != UsuarioSistema) { if (ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0 || data.IdEstado == Estados.Contruccion.Codigo) { - toastr.warning(Message_NoGrants, Message_Warning); - return; + if (ValidarPermisos('Super Usuario').length <= 0 ) { + toastr.warning(Message_NoGrants, Message_Warning); + return; + } + } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js index 04fc849f2..d0fa84861 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js @@ -42,7 +42,7 @@ this.CargarTareasPendientes = function () { var uri = SinortWCF + '/api/ObtenerTareasPendientes'; var model = { - codigo: UsuarioSistema + codigo: 'josnunez' } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/Index.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/Index.cshtml index 3e5f80f4c..afba7f376 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/Index.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/Index.cshtml @@ -18,7 +18,7 @@
- +
@@ -36,7 +36,7 @@
- +