Type.registerNamespace('ShopServices');
ShopServices.IWeb=function() {
ShopServices.IWeb.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShopServices.IWeb.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ShopServices.IWeb._staticInstance.get_path();},
Vote:function(idProduct,vote,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Vote',false,{idProduct:idProduct,vote:vote},succeededCallback,failedCallback,userContext); },
AddToShoppingCart:function(idProduct,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToShoppingCart',false,{idProduct:idProduct},succeededCallback,failedCallback,userContext); }}
ShopServices.IWeb.registerClass('ShopServices.IWeb',Sys.Net.WebServiceProxy);
ShopServices.IWeb._staticInstance = new ShopServices.IWeb();
ShopServices.IWeb.set_path = function(value) { ShopServices.IWeb._staticInstance.set_path(value); }
ShopServices.IWeb.get_path = function() { return ShopServices.IWeb._staticInstance.get_path(); }
ShopServices.IWeb.set_timeout = function(value) { ShopServices.IWeb._staticInstance.set_timeout(value); }
ShopServices.IWeb.get_timeout = function() { return ShopServices.IWeb._staticInstance.get_timeout(); }
ShopServices.IWeb.set_defaultUserContext = function(value) { ShopServices.IWeb._staticInstance.set_defaultUserContext(value); }
ShopServices.IWeb.get_defaultUserContext = function() { return ShopServices.IWeb._staticInstance.get_defaultUserContext(); }
ShopServices.IWeb.set_defaultSucceededCallback = function(value) { ShopServices.IWeb._staticInstance.set_defaultSucceededCallback(value); }
ShopServices.IWeb.get_defaultSucceededCallback = function() { return ShopServices.IWeb._staticInstance.get_defaultSucceededCallback(); }
ShopServices.IWeb.set_defaultFailedCallback = function(value) { ShopServices.IWeb._staticInstance.set_defaultFailedCallback(value); }
ShopServices.IWeb.get_defaultFailedCallback = function() { return ShopServices.IWeb._staticInstance.get_defaultFailedCallback(); }
ShopServices.IWeb.set_enableJsonp = function(value) { ShopServices.IWeb._staticInstance.set_enableJsonp(value); }
ShopServices.IWeb.get_enableJsonp = function() { return ShopServices.IWeb._staticInstance.get_enableJsonp(); }
ShopServices.IWeb.set_jsonpCallbackParameter = function(value) { ShopServices.IWeb._staticInstance.set_jsonpCallbackParameter(value); }
ShopServices.IWeb.get_jsonpCallbackParameter = function() { return ShopServices.IWeb._staticInstance.get_jsonpCallbackParameter(); }
ShopServices.IWeb.set_path("http://www.shop123.bz/Services/Web.svc");
ShopServices.IWeb.Vote= function(idProduct,vote,onSuccess,onFailed,userContext) {ShopServices.IWeb._staticInstance.Vote(idProduct,vote,onSuccess,onFailed,userContext); }
ShopServices.IWeb.AddToShoppingCart= function(idProduct,onSuccess,onFailed,userContext) {ShopServices.IWeb._staticInstance.AddToShoppingCart(idProduct,onSuccess,onFailed,userContext); }
