var ProductCatalogService=function() {
ProductCatalogService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProductCatalogService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetProductReviews:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogService.get_path(), 'GetProductReviews',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetReviewFormContent:function(productId,containerId,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogService.get_path(), 'GetReviewFormContent',false,{productId:productId,containerId:containerId},succeededCallback,failedCallback,userContext); },
SubmitReviewFeedback:function(helpful,reviewId,feedbackConfimTextContainerId,feedbackButtonContainerId,feedbackTextContainerId,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogService.get_path(), 'SubmitReviewFeedback',false,{helpful:helpful,reviewId:reviewId,feedbackConfimTextContainerId:feedbackConfimTextContainerId,feedbackButtonContainerId:feedbackButtonContainerId,feedbackTextContainerId:feedbackTextContainerId},succeededCallback,failedCallback,userContext); }}
ProductCatalogService.registerClass('ProductCatalogService',Sys.Net.WebServiceProxy);
ProductCatalogService._staticInstance = new ProductCatalogService();
ProductCatalogService.set_path = function(value) { ProductCatalogService._staticInstance._path = value; }
ProductCatalogService.get_path = function() { return ProductCatalogService._staticInstance._path; }
ProductCatalogService.set_timeout = function(value) { ProductCatalogService._staticInstance._timeout = value; }
ProductCatalogService.get_timeout = function() { return ProductCatalogService._staticInstance._timeout; }
ProductCatalogService.set_defaultUserContext = function(value) { ProductCatalogService._staticInstance._userContext = value; }
ProductCatalogService.get_defaultUserContext = function() { return ProductCatalogService._staticInstance._userContext; }
ProductCatalogService.set_defaultSucceededCallback = function(value) { ProductCatalogService._staticInstance._succeeded = value; }
ProductCatalogService.get_defaultSucceededCallback = function() { return ProductCatalogService._staticInstance._succeeded; }
ProductCatalogService.set_defaultFailedCallback = function(value) { ProductCatalogService._staticInstance._failed = value; }
ProductCatalogService.get_defaultFailedCallback = function() { return ProductCatalogService._staticInstance._failed; }
ProductCatalogService.set_path("/CoreCode/Modules/Content/ProductCatalog/WebServices/ProductCatalogService.asmx");
ProductCatalogService.HelloWorld= function(onSuccess,onFailed,userContext) {ProductCatalogService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
ProductCatalogService.GetProductReviews= function(contextKey,onSuccess,onFailed,userContext) {ProductCatalogService._staticInstance.GetProductReviews(contextKey,onSuccess,onFailed,userContext); }
ProductCatalogService.GetReviewFormContent= function(productId,containerId,onSuccess,onFailed,userContext) {ProductCatalogService._staticInstance.GetReviewFormContent(productId,containerId,onSuccess,onFailed,userContext); }
ProductCatalogService.SubmitReviewFeedback= function(helpful,reviewId,feedbackConfimTextContainerId,feedbackButtonContainerId,feedbackTextContainerId,onSuccess,onFailed,userContext) {ProductCatalogService._staticInstance.SubmitReviewFeedback(helpful,reviewId,feedbackConfimTextContainerId,feedbackButtonContainerId,feedbackTextContainerId,onSuccess,onFailed,userContext); }
