public string ObtenerListadoRolePorEmpresa(int intIdEmpresa) { try { IList <LlaveDescripcion> listadoEmpresas = servicioMantenimiento.ObtenerListadoRolePorEmpresa(intIdEmpresa); string strRespuesta = ""; if (listadoEmpresas.Count > 0) { strRespuesta = serializer.Serialize(listadoEmpresas); } return(strRespuesta); } catch (Exception ex) { throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError); } }