Type.registerNamespace('MicrosoftFrance.MCS.Commerce.WS.AJAXProject');
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService=function() {
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.prototype={
GetProductsByCategory:function(customerId,diagCode,catCode,retailerCode,succeededCallback, failedCallback, userContext) {
return this._invoke(MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_path(), 'GetProductsByCategory',false,{customerId:customerId,diagCode:diagCode,catCode:catCode,retailerCode:retailerCode},succeededCallback,failedCallback,userContext); },
GetProductInfoWithDiagRecommendation:function(customerId,productCode,diagCode,catCode,retailerCode,filterExpression,succeededCallback, failedCallback, userContext) {
return this._invoke(MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_path(), 'GetProductInfoWithDiagRecommendation',false,{customerId:customerId,productCode:productCode,diagCode:diagCode,catCode:catCode,retailerCode:retailerCode,filterExpression:filterExpression},succeededCallback,failedCallback,userContext); }}
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.registerClass('MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService',Sys.Net.WebServiceProxy);
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance = new MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService();
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.set_path = function(value) { MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._path = value; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_path = function() { return MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._path; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.set_timeout = function(value) { MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._timeout = value; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_timeout = function() { return MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._timeout; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.set_defaultUserContext = function(value) { MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._userContext = value; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_defaultUserContext = function() { return MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._userContext; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.set_defaultSucceededCallback = function(value) { MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._succeeded = value; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_defaultSucceededCallback = function() { return MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._succeeded; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.set_defaultFailedCallback = function(value) { MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._failed = value; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.get_defaultFailedCallback = function() { return MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance._failed; }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.set_path("/ws/ajax/Diagnosis.asmx");
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.GetProductsByCategory= function(customerId,diagCode,catCode,retailerCode,onSuccess,onFailed,userContext) {MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance.GetProductsByCategory(customerId,diagCode,catCode,retailerCode,onSuccess,onFailed,userContext); }
MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService.GetProductInfoWithDiagRecommendation= function(customerId,productCode,diagCode,catCode,retailerCode,filterExpression,onSuccess,onFailed,userContext) {MicrosoftFrance.MCS.Commerce.WS.AJAXProject.DiagnosisWebService._staticInstance.GetProductInfoWithDiagRecommendation(customerId,productCode,diagCode,catCode,retailerCode,filterExpression,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MicrosoftFrance.MCS.Commerce.AJAXProject');
if (typeof(MicrosoftFrance.MCS.Commerce.AJAXProject.Product) === 'undefined') {
MicrosoftFrance.MCS.Commerce.AJAXProject.Product=gtc("MicrosoftFrance.MCS.Commerce.AJAXProject.Product");
MicrosoftFrance.MCS.Commerce.AJAXProject.Product.registerClass('MicrosoftFrance.MCS.Commerce.AJAXProject.Product');
}
