var CatalogWebService=function() {
CatalogWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CatalogWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CatalogWebService._staticInstance.get_path();},
GetProducts:function(startRowIndex,maximumRows,filterby,sortby,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProducts',false,{startRowIndex:startRowIndex,maximumRows:maximumRows,filterby:filterby,sortby:sortby},succeededCallback,failedCallback,userContext); },
GetCatProducts:function(categoryId,startRowIndex,maximumRows,filterby,sortby,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCatProducts',false,{categoryId:categoryId,startRowIndex:startRowIndex,maximumRows:maximumRows,filterby:filterby,sortby:sortby},succeededCallback,failedCallback,userContext); }}
CatalogWebService.registerClass('CatalogWebService',Sys.Net.WebServiceProxy);
CatalogWebService._staticInstance = new CatalogWebService();
CatalogWebService.set_path = function(value) { CatalogWebService._staticInstance.set_path(value); }
CatalogWebService.get_path = function() { return CatalogWebService._staticInstance.get_path(); }
CatalogWebService.set_timeout = function(value) { CatalogWebService._staticInstance.set_timeout(value); }
CatalogWebService.get_timeout = function() { return CatalogWebService._staticInstance.get_timeout(); }
CatalogWebService.set_defaultUserContext = function(value) { CatalogWebService._staticInstance.set_defaultUserContext(value); }
CatalogWebService.get_defaultUserContext = function() { return CatalogWebService._staticInstance.get_defaultUserContext(); }
CatalogWebService.set_defaultSucceededCallback = function(value) { CatalogWebService._staticInstance.set_defaultSucceededCallback(value); }
CatalogWebService.get_defaultSucceededCallback = function() { return CatalogWebService._staticInstance.get_defaultSucceededCallback(); }
CatalogWebService.set_defaultFailedCallback = function(value) { CatalogWebService._staticInstance.set_defaultFailedCallback(value); }
CatalogWebService.get_defaultFailedCallback = function() { return CatalogWebService._staticInstance.get_defaultFailedCallback(); }
CatalogWebService.set_enableJsonp = function(value) { CatalogWebService._staticInstance.set_enableJsonp(value); }
CatalogWebService.get_enableJsonp = function() { return CatalogWebService._staticInstance.get_enableJsonp(); }
CatalogWebService.set_jsonpCallbackParameter = function(value) { CatalogWebService._staticInstance.set_jsonpCallbackParameter(value); }
CatalogWebService.get_jsonpCallbackParameter = function() { return CatalogWebService._staticInstance.get_jsonpCallbackParameter(); }
CatalogWebService.set_path("/CatalogWebService.asmx");
CatalogWebService.GetProducts= function(startRowIndex,maximumRows,filterby,sortby,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetProducts(startRowIndex,maximumRows,filterby,sortby,onSuccess,onFailed,userContext); }
CatalogWebService.GetCatProducts= function(categoryId,startRowIndex,maximumRows,filterby,sortby,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetCatProducts(categoryId,startRowIndex,maximumRows,filterby,sortby,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ProductItem) === 'undefined') {
var ProductItem=gtc("ProductItem");
ProductItem.registerClass('ProductItem');
}

