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

