Type.registerNamespace('Henrys.Web.WebServices');
Henrys.Web.WebServices.WorkshopService=function() {
Henrys.Web.WebServices.WorkshopService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Henrys.Web.WebServices.WorkshopService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Henrys.Web.WebServices.WorkshopService._staticInstance.get_path();},
GetWorkshops:function(date,locationId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWorkshops',true,{date:date,locationId:locationId},succeededCallback,failedCallback,userContext); },
GetWorkshopsForProduct:function(date,locationId,productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWorkshopsForProduct',true,{date:date,locationId:locationId,productId:productId},succeededCallback,failedCallback,userContext); },
GetPopulatedWorkshopDates:function(startDate,endDate,locationId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPopulatedWorkshopDates',true,{startDate:startDate,endDate:endDate,locationId:locationId},succeededCallback,failedCallback,userContext); },
GetPopulatedWorkshopDatesForProduct:function(startDate,endDate,locationId,productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPopulatedWorkshopDatesForProduct',true,{startDate:startDate,endDate:endDate,locationId:locationId,productId:productId},succeededCallback,failedCallback,userContext); },
GetStoreUrlForHenrysLocationId:function(henrysLocationId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStoreUrlForHenrysLocationId',true,{henrysLocationId:henrysLocationId},succeededCallback,failedCallback,userContext); },
CheckStock:function(workshopId,qty,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckStock',true,{workshopId:workshopId,qty:qty},succeededCallback,failedCallback,userContext); },
GetWorkshopLocations:function(knownCategoryValues,category,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWorkshopLocations',false,{knownCategoryValues:knownCategoryValues,category:category,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetWorkshopDates:function(knownCategoryValues,category,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWorkshopDates',false,{knownCategoryValues:knownCategoryValues,category:category,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetWorkshopFinderLocations:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWorkshopFinderLocations',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetWorkshopFinderClasses:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWorkshopFinderClasses',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetRegionAwareWorkshops:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRegionAwareWorkshops',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); }}
Henrys.Web.WebServices.WorkshopService.registerClass('Henrys.Web.WebServices.WorkshopService',Sys.Net.WebServiceProxy);
Henrys.Web.WebServices.WorkshopService._staticInstance = new Henrys.Web.WebServices.WorkshopService();
Henrys.Web.WebServices.WorkshopService.set_path = function(value) { Henrys.Web.WebServices.WorkshopService._staticInstance.set_path(value); }
Henrys.Web.WebServices.WorkshopService.get_path = function() { return Henrys.Web.WebServices.WorkshopService._staticInstance.get_path(); }
Henrys.Web.WebServices.WorkshopService.set_timeout = function(value) { Henrys.Web.WebServices.WorkshopService._staticInstance.set_timeout(value); }
Henrys.Web.WebServices.WorkshopService.get_timeout = function() { return Henrys.Web.WebServices.WorkshopService._staticInstance.get_timeout(); }
Henrys.Web.WebServices.WorkshopService.set_defaultUserContext = function(value) { Henrys.Web.WebServices.WorkshopService._staticInstance.set_defaultUserContext(value); }
Henrys.Web.WebServices.WorkshopService.get_defaultUserContext = function() { return Henrys.Web.WebServices.WorkshopService._staticInstance.get_defaultUserContext(); }
Henrys.Web.WebServices.WorkshopService.set_defaultSucceededCallback = function(value) { Henrys.Web.WebServices.WorkshopService._staticInstance.set_defaultSucceededCallback(value); }
Henrys.Web.WebServices.WorkshopService.get_defaultSucceededCallback = function() { return Henrys.Web.WebServices.WorkshopService._staticInstance.get_defaultSucceededCallback(); }
Henrys.Web.WebServices.WorkshopService.set_defaultFailedCallback = function(value) { Henrys.Web.WebServices.WorkshopService._staticInstance.set_defaultFailedCallback(value); }
Henrys.Web.WebServices.WorkshopService.get_defaultFailedCallback = function() { return Henrys.Web.WebServices.WorkshopService._staticInstance.get_defaultFailedCallback(); }
Henrys.Web.WebServices.WorkshopService.set_path("/WebServices/WorkshopService.asmx");
Henrys.Web.WebServices.WorkshopService.GetWorkshops= function(date,locationId,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetWorkshops(date,locationId,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetWorkshopsForProduct= function(date,locationId,productId,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetWorkshopsForProduct(date,locationId,productId,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetPopulatedWorkshopDates= function(startDate,endDate,locationId,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetPopulatedWorkshopDates(startDate,endDate,locationId,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetPopulatedWorkshopDatesForProduct= function(startDate,endDate,locationId,productId,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetPopulatedWorkshopDatesForProduct(startDate,endDate,locationId,productId,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetStoreUrlForHenrysLocationId= function(henrysLocationId,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetStoreUrlForHenrysLocationId(henrysLocationId,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.CheckStock= function(workshopId,qty,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.CheckStock(workshopId,qty,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetWorkshopLocations= function(knownCategoryValues,category,contextKey,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetWorkshopLocations(knownCategoryValues,category,contextKey,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetWorkshopDates= function(knownCategoryValues,category,contextKey,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetWorkshopDates(knownCategoryValues,category,contextKey,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetWorkshopFinderLocations= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetWorkshopFinderLocations(knownCategoryValues,category,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetWorkshopFinderClasses= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetWorkshopFinderClasses(knownCategoryValues,category,onSuccess,onFailed,userContext); }
Henrys.Web.WebServices.WorkshopService.GetRegionAwareWorkshops= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Henrys.Web.WebServices.WorkshopService._staticInstance.GetRegionAwareWorkshops(knownCategoryValues,category,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Henrys.Web.WebServices.Workshop) === 'undefined') {
Henrys.Web.WebServices.Workshop=gtc("Henrys.Web.WebServices.Workshop");
Henrys.Web.WebServices.Workshop.registerClass('Henrys.Web.WebServices.Workshop');
}
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}

