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

