Type.registerNamespace('DMG.Nombres.Components');
DMG.Nombres.Components.NombresService=function() {
DMG.Nombres.Components.NombresService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DMG.Nombres.Components.NombresService.prototype={
ObtenerNombres:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(DMG.Nombres.Components.NombresService.get_path(), 'ObtenerNombres',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); }}
DMG.Nombres.Components.NombresService.registerClass('DMG.Nombres.Components.NombresService',Sys.Net.WebServiceProxy);
DMG.Nombres.Components.NombresService._staticInstance = new DMG.Nombres.Components.NombresService();
DMG.Nombres.Components.NombresService.set_path = function(value) { DMG.Nombres.Components.NombresService._staticInstance._path = value; }
DMG.Nombres.Components.NombresService.get_path = function() { return DMG.Nombres.Components.NombresService._staticInstance._path; }
DMG.Nombres.Components.NombresService.set_timeout = function(value) { DMG.Nombres.Components.NombresService._staticInstance._timeout = value; }
DMG.Nombres.Components.NombresService.get_timeout = function() { return DMG.Nombres.Components.NombresService._staticInstance._timeout; }
DMG.Nombres.Components.NombresService.set_defaultUserContext = function(value) { DMG.Nombres.Components.NombresService._staticInstance._userContext = value; }
DMG.Nombres.Components.NombresService.get_defaultUserContext = function() { return DMG.Nombres.Components.NombresService._staticInstance._userContext; }
DMG.Nombres.Components.NombresService.set_defaultSucceededCallback = function(value) { DMG.Nombres.Components.NombresService._staticInstance._succeeded = value; }
DMG.Nombres.Components.NombresService.get_defaultSucceededCallback = function() { return DMG.Nombres.Components.NombresService._staticInstance._succeeded; }
DMG.Nombres.Components.NombresService.set_defaultFailedCallback = function(value) { DMG.Nombres.Components.NombresService._staticInstance._failed = value; }
DMG.Nombres.Components.NombresService.get_defaultFailedCallback = function() { return DMG.Nombres.Components.NombresService._staticInstance._failed; }
DMG.Nombres.Components.NombresService.set_path("/DesktopModules/Nombres/NombresService.asmx");
DMG.Nombres.Components.NombresService.ObtenerNombres= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {DMG.Nombres.Components.NombresService._staticInstance.ObtenerNombres(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }

