Type.registerNamespace('HHTSitecore.services');
HHTSitecore.services.ProductService=function() {
HHTSitecore.services.ProductService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HHTSitecore.services.ProductService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return HHTSitecore.services.ProductService._staticInstance.get_path();},
ShowFromSave:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShowFromSave',false,{productID:productID},succeededCallback,failedCallback,userContext); },
CreateFeaturesPopupContent:function(sectionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateFeaturesPopupContent',false,{sectionID:sectionID},succeededCallback,failedCallback,userContext); }}
HHTSitecore.services.ProductService.registerClass('HHTSitecore.services.ProductService',Sys.Net.WebServiceProxy);
HHTSitecore.services.ProductService._staticInstance = new HHTSitecore.services.ProductService();
HHTSitecore.services.ProductService.set_path = function(value) { HHTSitecore.services.ProductService._staticInstance.set_path(value); }
HHTSitecore.services.ProductService.get_path = function() { return HHTSitecore.services.ProductService._staticInstance.get_path(); }
HHTSitecore.services.ProductService.set_timeout = function(value) { HHTSitecore.services.ProductService._staticInstance.set_timeout(value); }
HHTSitecore.services.ProductService.get_timeout = function() { return HHTSitecore.services.ProductService._staticInstance.get_timeout(); }
HHTSitecore.services.ProductService.set_defaultUserContext = function(value) { HHTSitecore.services.ProductService._staticInstance.set_defaultUserContext(value); }
HHTSitecore.services.ProductService.get_defaultUserContext = function() { return HHTSitecore.services.ProductService._staticInstance.get_defaultUserContext(); }
HHTSitecore.services.ProductService.set_defaultSucceededCallback = function(value) { HHTSitecore.services.ProductService._staticInstance.set_defaultSucceededCallback(value); }
HHTSitecore.services.ProductService.get_defaultSucceededCallback = function() { return HHTSitecore.services.ProductService._staticInstance.get_defaultSucceededCallback(); }
HHTSitecore.services.ProductService.set_defaultFailedCallback = function(value) { HHTSitecore.services.ProductService._staticInstance.set_defaultFailedCallback(value); }
HHTSitecore.services.ProductService.get_defaultFailedCallback = function() { return HHTSitecore.services.ProductService._staticInstance.get_defaultFailedCallback(); }
HHTSitecore.services.ProductService.set_path("/services/productservice.asmx");
HHTSitecore.services.ProductService.ShowFromSave= function(productID,onSuccess,onFailed,userContext) {HHTSitecore.services.ProductService._staticInstance.ShowFromSave(productID,onSuccess,onFailed,userContext); }
HHTSitecore.services.ProductService.CreateFeaturesPopupContent= function(sectionID,onSuccess,onFailed,userContext) {HHTSitecore.services.ProductService._staticInstance.CreateFeaturesPopupContent(sectionID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(HHTSitecore.services.ShowResponse) === 'undefined') {
HHTSitecore.services.ShowResponse=gtc("HHTSitecore.services.ShowResponse");
HHTSitecore.services.ShowResponse.registerClass('HHTSitecore.services.ShowResponse');
}
if (typeof(HHTSitecore.services.FeaturesOptionsResponse) === 'undefined') {
HHTSitecore.services.FeaturesOptionsResponse=gtc("HHTSitecore.services.FeaturesOptionsResponse");
HHTSitecore.services.FeaturesOptionsResponse.registerClass('HHTSitecore.services.FeaturesOptionsResponse');
}
