Type.registerNamespace('Zumfish');
Zumfish.BrandsWS=function() {
Zumfish.BrandsWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Zumfish.BrandsWS.prototype={
GetCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(Zumfish.BrandsWS.get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
Zumfish.BrandsWS.registerClass('Zumfish.BrandsWS',Sys.Net.WebServiceProxy);
Zumfish.BrandsWS._staticInstance = new Zumfish.BrandsWS();
Zumfish.BrandsWS.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Zumfish.BrandsWS._staticInstance._path = value; }
Zumfish.BrandsWS.get_path = function() { return Zumfish.BrandsWS._staticInstance._path; }
Zumfish.BrandsWS.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); }
Zumfish.BrandsWS._staticInstance._timeout = value; }
Zumfish.BrandsWS.get_timeout = function() { 
return Zumfish.BrandsWS._staticInstance._timeout; }
Zumfish.BrandsWS.set_defaultUserContext = function(value) { 
Zumfish.BrandsWS._staticInstance._userContext = value; }
Zumfish.BrandsWS.get_defaultUserContext = function() { 
return Zumfish.BrandsWS._staticInstance._userContext; }
Zumfish.BrandsWS.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Zumfish.BrandsWS._staticInstance._succeeded = value; }
Zumfish.BrandsWS.get_defaultSucceededCallback = function() { 
return Zumfish.BrandsWS._staticInstance._succeeded; }
Zumfish.BrandsWS.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Zumfish.BrandsWS._staticInstance._failed = value; }
Zumfish.BrandsWS.get_defaultFailedCallback = function() { 
return Zumfish.BrandsWS._staticInstance._failed; }
Zumfish.BrandsWS.set_path("/BrandsWS.asmx");
Zumfish.BrandsWS.GetCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Zumfish.BrandsWS._staticInstance.GetCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }

