Type.registerNamespace('AIKON.CommerceLive.WebService');
AIKON.CommerceLive.WebService.Lead=function() {
AIKON.CommerceLive.WebService.Lead.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AIKON.CommerceLive.WebService.Lead.prototype={
SetView:function(LeadID,View,succeededCallback, failedCallback, userContext) {
return this._invoke(AIKON.CommerceLive.WebService.Lead.get_path(), 'SetView',false,{LeadID:LeadID,View:View},succeededCallback,failedCallback,userContext); }}
AIKON.CommerceLive.WebService.Lead.registerClass('AIKON.CommerceLive.WebService.Lead',Sys.Net.WebServiceProxy);
AIKON.CommerceLive.WebService.Lead._staticInstance = new AIKON.CommerceLive.WebService.Lead();
AIKON.CommerceLive.WebService.Lead.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; AIKON.CommerceLive.WebService.Lead._staticInstance._path = value; }
AIKON.CommerceLive.WebService.Lead.get_path = function() { return AIKON.CommerceLive.WebService.Lead._staticInstance._path; }
AIKON.CommerceLive.WebService.Lead.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
AIKON.CommerceLive.WebService.Lead._staticInstance._timeout = value; }
AIKON.CommerceLive.WebService.Lead.get_timeout = function() { 
return AIKON.CommerceLive.WebService.Lead._staticInstance._timeout; }
AIKON.CommerceLive.WebService.Lead.set_defaultUserContext = function(value) { 
AIKON.CommerceLive.WebService.Lead._staticInstance._userContext = value; }
AIKON.CommerceLive.WebService.Lead.get_defaultUserContext = function() { 
return AIKON.CommerceLive.WebService.Lead._staticInstance._userContext; }
AIKON.CommerceLive.WebService.Lead.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; AIKON.CommerceLive.WebService.Lead._staticInstance._succeeded = value; }
AIKON.CommerceLive.WebService.Lead.get_defaultSucceededCallback = function() { 
return AIKON.CommerceLive.WebService.Lead._staticInstance._succeeded; }
AIKON.CommerceLive.WebService.Lead.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; AIKON.CommerceLive.WebService.Lead._staticInstance._failed = value; }
AIKON.CommerceLive.WebService.Lead.get_defaultFailedCallback = function() { 
return AIKON.CommerceLive.WebService.Lead._staticInstance._failed; }
AIKON.CommerceLive.WebService.Lead.set_path("/WebService/Lead.asmx");
AIKON.CommerceLive.WebService.Lead.SetView= function(LeadID,View,onSuccess,onFailed,userContext) {AIKON.CommerceLive.WebService.Lead._staticInstance.SetView(LeadID,View,onSuccess,onFailed,userContext); }
