var GBService=function() {
GBService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GBService.prototype={
GetCategoryNames:function(alphabet,succeededCallback, failedCallback, userContext) {
return this._invoke(GBService.get_path(), 'GetCategoryNames',false,{alphabet:alphabet},succeededCallback,failedCallback,userContext); },
GetBrandNames:function(alphabet,succeededCallback, failedCallback, userContext) {
return this._invoke(GBService.get_path(), 'GetBrandNames',false,{alphabet:alphabet},succeededCallback,failedCallback,userContext); }}
GBService.registerClass('GBService',Sys.Net.WebServiceProxy);
GBService._staticInstance = new GBService();
GBService.set_path = function(value) { GBService._staticInstance._path = value; }
GBService.get_path = function() { return GBService._staticInstance._path; }
GBService.set_timeout = function(value) { GBService._staticInstance._timeout = value; }
GBService.get_timeout = function() { return GBService._staticInstance._timeout; }
GBService.set_defaultUserContext = function(value) { GBService._staticInstance._userContext = value; }
GBService.get_defaultUserContext = function() { return GBService._staticInstance._userContext; }
GBService.set_defaultSucceededCallback = function(value) { GBService._staticInstance._succeeded = value; }
GBService.get_defaultSucceededCallback = function() { return GBService._staticInstance._succeeded; }
GBService.set_defaultFailedCallback = function(value) { GBService._staticInstance._failed = value; }
GBService.get_defaultFailedCallback = function() { return GBService._staticInstance._failed; }
GBService.set_path("/public/WebService/GBService.asmx");
GBService.GetCategoryNames= function(alphabet,onSuccess,onFailed,userContext) {GBService._staticInstance.GetCategoryNames(alphabet,onSuccess,onFailed,userContext); }
GBService.GetBrandNames= function(alphabet,onSuccess,onFailed,userContext) {GBService._staticInstance.GetBrandNames(alphabet,onSuccess,onFailed,userContext); }
