Type.registerNamespace('Leontien.Site');
Leontien.Site.Webshop1=function() {
Leontien.Site.Webshop1.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Leontien.Site.Webshop1.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Leontien.Site.Webshop1._staticInstance.get_path();},
Add:function(artikelId,aantal,specID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Add',false,{artikelId:artikelId,aantal:aantal,specID:specID},succeededCallback,failedCallback,userContext); }}
Leontien.Site.Webshop1.registerClass('Leontien.Site.Webshop1',Sys.Net.WebServiceProxy);
Leontien.Site.Webshop1._staticInstance = new Leontien.Site.Webshop1();
Leontien.Site.Webshop1.set_path = function(value) { Leontien.Site.Webshop1._staticInstance.set_path(value); }
Leontien.Site.Webshop1.get_path = function() { return Leontien.Site.Webshop1._staticInstance.get_path(); }
Leontien.Site.Webshop1.set_timeout = function(value) { Leontien.Site.Webshop1._staticInstance.set_timeout(value); }
Leontien.Site.Webshop1.get_timeout = function() { return Leontien.Site.Webshop1._staticInstance.get_timeout(); }
Leontien.Site.Webshop1.set_defaultUserContext = function(value) { Leontien.Site.Webshop1._staticInstance.set_defaultUserContext(value); }
Leontien.Site.Webshop1.get_defaultUserContext = function() { return Leontien.Site.Webshop1._staticInstance.get_defaultUserContext(); }
Leontien.Site.Webshop1.set_defaultSucceededCallback = function(value) { Leontien.Site.Webshop1._staticInstance.set_defaultSucceededCallback(value); }
Leontien.Site.Webshop1.get_defaultSucceededCallback = function() { return Leontien.Site.Webshop1._staticInstance.get_defaultSucceededCallback(); }
Leontien.Site.Webshop1.set_defaultFailedCallback = function(value) { Leontien.Site.Webshop1._staticInstance.set_defaultFailedCallback(value); }
Leontien.Site.Webshop1.get_defaultFailedCallback = function() { return Leontien.Site.Webshop1._staticInstance.get_defaultFailedCallback(); }
Leontien.Site.Webshop1.set_path("/webservices/Webshop.asmx");
Leontien.Site.Webshop1.Add= function(artikelId,aantal,specID,onSuccess,onFailed,userContext) {Leontien.Site.Webshop1._staticInstance.Add(artikelId,aantal,specID,onSuccess,onFailed,userContext); }

