var ShoppingCartService=function() {
ShoppingCartService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShoppingCartService.prototype={
GetShoppingCartItemCountByUser:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(ShoppingCartService.get_path(), 'GetShoppingCartItemCountByUser',false,{userName:userName},succeededCallback,failedCallback,userContext); }}
ShoppingCartService.registerClass('ShoppingCartService',Sys.Net.WebServiceProxy);
ShoppingCartService._staticInstance = new ShoppingCartService();
ShoppingCartService.set_path = function(value) { ShoppingCartService._staticInstance._path = value; }
ShoppingCartService.get_path = function() { return ShoppingCartService._staticInstance._path; }
ShoppingCartService.set_timeout = function(value) { ShoppingCartService._staticInstance._timeout = value; }
ShoppingCartService.get_timeout = function() { return ShoppingCartService._staticInstance._timeout; }
ShoppingCartService.set_defaultUserContext = function(value) { ShoppingCartService._staticInstance._userContext = value; }
ShoppingCartService.get_defaultUserContext = function() { return ShoppingCartService._staticInstance._userContext; }
ShoppingCartService.set_defaultSucceededCallback = function(value) { ShoppingCartService._staticInstance._succeeded = value; }
ShoppingCartService.get_defaultSucceededCallback = function() { return ShoppingCartService._staticInstance._succeeded; }
ShoppingCartService.set_defaultFailedCallback = function(value) { ShoppingCartService._staticInstance._failed = value; }
ShoppingCartService.get_defaultFailedCallback = function() { return ShoppingCartService._staticInstance._failed; }
ShoppingCartService.set_path("/Services/ShoppingCartService.asmx");
ShoppingCartService.GetShoppingCartItemCountByUser= function(userName,onSuccess,onFailed,userContext) {ShoppingCartService._staticInstance.GetShoppingCartItemCountByUser(userName,onSuccess,onFailed,userContext); }
