Type.registerNamespace('Prosoft.ProsoftWebSite.Web.WebServices');
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService=function() {
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.get_path();},
SendPageTextError:function(pageUrl,errorText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendPageTextError',false,{pageUrl:pageUrl,errorText:errorText},succeededCallback,failedCallback,userContext); },
AddProduct:function(orderNumber,quantity,contentElementID,price,isSale,unit,productName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProduct',false,{orderNumber:orderNumber,quantity:quantity,contentElementID:contentElementID,price:price,isSale:isSale,unit:unit,productName:productName},succeededCallback,failedCallback,userContext); }}
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.registerClass('Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService',Sys.Net.WebServiceProxy);
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance = new Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService();
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.set_path = function(value) { Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.set_path(value); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.get_path = function() { return Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.get_path(); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.set_timeout = function(value) { Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.set_timeout(value); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.get_timeout = function() { return Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.get_timeout(); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.set_defaultUserContext = function(value) { Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.set_defaultUserContext(value); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.get_defaultUserContext = function() { return Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.get_defaultUserContext(); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.set_defaultSucceededCallback = function(value) { Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.set_defaultSucceededCallback(value); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.get_defaultSucceededCallback = function() { return Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.get_defaultSucceededCallback(); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.set_defaultFailedCallback = function(value) { Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.set_defaultFailedCallback(value); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.get_defaultFailedCallback = function() { return Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.get_defaultFailedCallback(); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.set_path("/WebServices/SendCommonInfoService.asmx");
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.SendPageTextError= function(pageUrl,errorText,onSuccess,onFailed,userContext) {Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.SendPageTextError(pageUrl,errorText,onSuccess,onFailed,userContext); }
Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService.AddProduct= function(orderNumber,quantity,contentElementID,price,isSale,unit,productName,onSuccess,onFailed,userContext) {Prosoft.ProsoftWebSite.Web.WebServices.SendCommonInfoService._staticInstance.AddProduct(orderNumber,quantity,contentElementID,price,isSale,unit,productName,onSuccess,onFailed,userContext); }

