var CatalogService=function() {
CatalogService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CatalogService.prototype={
GetCategories:function(succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogService.get_path(), 'GetCategories',false,{},succeededCallback,failedCallback,userContext); },
GetCategoryDesc:function(catID,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogService.get_path(), 'GetCategoryDesc',false,{catID:catID},succeededCallback,failedCallback,userContext); },
GetProducts:function(categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogService.get_path(), 'GetProducts',false,{categoryID:categoryID},succeededCallback,failedCallback,userContext); }}
CatalogService.registerClass('CatalogService',Sys.Net.WebServiceProxy);
CatalogService._staticInstance = new CatalogService();
CatalogService.set_path = function(value) { CatalogService._staticInstance._path = value; }
CatalogService.get_path = function() { return CatalogService._staticInstance._path; }
CatalogService.set_timeout = function(value) { CatalogService._staticInstance._timeout = value; }
CatalogService.get_timeout = function() { return CatalogService._staticInstance._timeout; }
CatalogService.set_defaultUserContext = function(value) { CatalogService._staticInstance._userContext = value; }
CatalogService.get_defaultUserContext = function() { return CatalogService._staticInstance._userContext; }
CatalogService.set_defaultSucceededCallback = function(value) { CatalogService._staticInstance._succeeded = value; }
CatalogService.get_defaultSucceededCallback = function() { return CatalogService._staticInstance._succeeded; }
CatalogService.set_defaultFailedCallback = function(value) { CatalogService._staticInstance._failed = value; }
CatalogService.get_defaultFailedCallback = function() { return CatalogService._staticInstance._failed; }
CatalogService.set_path("/CatalogService.asmx");
CatalogService.GetCategories= function(onSuccess,onFailed,userContext) {CatalogService._staticInstance.GetCategories(onSuccess,onFailed,userContext); }
CatalogService.GetCategoryDesc= function(catID,onSuccess,onFailed,userContext) {CatalogService._staticInstance.GetCategoryDesc(catID,onSuccess,onFailed,userContext); }
CatalogService.GetProducts= function(categoryID,onSuccess,onFailed,userContext) {CatalogService._staticInstance.GetProducts(categoryID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SimpleProduct) === 'undefined') {
var SimpleProduct=gtc("SimpleProduct");
SimpleProduct.registerClass('SimpleProduct');
}
