var wsAutoComplete=function() {
wsAutoComplete.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsAutoComplete.prototype={
PegaListaCompleta:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(wsAutoComplete.get_path(), 'PegaListaCompleta',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
wsAutoComplete.registerClass('wsAutoComplete',Sys.Net.WebServiceProxy);
wsAutoComplete._staticInstance = new wsAutoComplete();
wsAutoComplete.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; wsAutoComplete._staticInstance._path = value; }
wsAutoComplete.get_path = function() { return wsAutoComplete._staticInstance._path; }
wsAutoComplete.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
wsAutoComplete._staticInstance._timeout = value; }
wsAutoComplete.get_timeout = function() { 
return wsAutoComplete._staticInstance._timeout; }
wsAutoComplete.set_defaultUserContext = function(value) { 
wsAutoComplete._staticInstance._userContext = value; }
wsAutoComplete.get_defaultUserContext = function() { 
return wsAutoComplete._staticInstance._userContext; }
wsAutoComplete.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; wsAutoComplete._staticInstance._succeeded = value; }
wsAutoComplete.get_defaultSucceededCallback = function() { 
return wsAutoComplete._staticInstance._succeeded; }
wsAutoComplete.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; wsAutoComplete._staticInstance._failed = value; }
wsAutoComplete.get_defaultFailedCallback = function() { 
return wsAutoComplete._staticInstance._failed; }
wsAutoComplete.set_path("/wsAutoComplete.asmx");
wsAutoComplete.PegaListaCompleta= function(prefixText,count,onSuccess,onFailed,userContext) {wsAutoComplete._staticInstance.PegaListaCompleta(prefixText,count,onSuccess,onFailed,userContext); }

