var CatalogWebService=function() {
CatalogWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CatalogWebService.prototype={
GetProductDescription:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogWebService.get_path(), 'GetProductDescription',false,{productID:productID},succeededCallback,failedCallback,userContext); },
GetShortProductDescription:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogWebService.get_path(), 'GetShortProductDescription',false,{productID:productID},succeededCallback,failedCallback,userContext); },
GetProductRotationGroup:function(groupPrefix,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogWebService.get_path(), 'GetProductRotationGroup',false,{groupPrefix:groupPrefix},succeededCallback,failedCallback,userContext); },
GetProductRotationGroups:function(groupPrefix,count,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogWebService.get_path(), 'GetProductRotationGroups',false,{groupPrefix:groupPrefix,count:count},succeededCallback,failedCallback,userContext); },
GetQuantityOnHand:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogWebService.get_path(), 'GetQuantityOnHand',false,{productID:productID},succeededCallback,failedCallback,userContext); },
GetNavigationHistory:function(entryID,succeededCallback, failedCallback, userContext) {
return this._invoke(CatalogWebService.get_path(), 'GetNavigationHistory',false,{entryID:entryID},succeededCallback,failedCallback,userContext); }}
CatalogWebService.registerClass('CatalogWebService',Sys.Net.WebServiceProxy);
CatalogWebService._staticInstance = new CatalogWebService();
CatalogWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; CatalogWebService._staticInstance._path = value; }
CatalogWebService.get_path = function() { return CatalogWebService._staticInstance._path; }
CatalogWebService.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); }
CatalogWebService._staticInstance._timeout = value; }
CatalogWebService.get_timeout = function() { 
return CatalogWebService._staticInstance._timeout; }
CatalogWebService.set_defaultUserContext = function(value) { 
CatalogWebService._staticInstance._userContext = value; }
CatalogWebService.get_defaultUserContext = function() { 
return CatalogWebService._staticInstance._userContext; }
CatalogWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; CatalogWebService._staticInstance._succeeded = value; }
CatalogWebService.get_defaultSucceededCallback = function() { 
return CatalogWebService._staticInstance._succeeded; }
CatalogWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; CatalogWebService._staticInstance._failed = value; }
CatalogWebService.get_defaultFailedCallback = function() { 
return CatalogWebService._staticInstance._failed; }
CatalogWebService.set_path("/webservices/catalog.asmx");
CatalogWebService.GetProductDescription= function(productID,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetProductDescription(productID,onSuccess,onFailed,userContext); }
CatalogWebService.GetShortProductDescription= function(productID,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetShortProductDescription(productID,onSuccess,onFailed,userContext); }
CatalogWebService.GetProductRotationGroup= function(groupPrefix,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetProductRotationGroup(groupPrefix,onSuccess,onFailed,userContext); }
CatalogWebService.GetProductRotationGroups= function(groupPrefix,count,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetProductRotationGroups(groupPrefix,count,onSuccess,onFailed,userContext); }
CatalogWebService.GetQuantityOnHand= function(productID,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetQuantityOnHand(productID,onSuccess,onFailed,userContext); }
CatalogWebService.GetNavigationHistory= function(entryID,onSuccess,onFailed,userContext) {CatalogWebService._staticInstance.GetNavigationHistory(entryID,onSuccess,onFailed,userContext); }
