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