Type.registerNamespace('ET.Internet.Web.ScriptServices');
ET.Internet.Web.ScriptServices.WorkFlowService=function() {
ET.Internet.Web.ScriptServices.WorkFlowService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ET.Internet.Web.ScriptServices.WorkFlowService.prototype={
GetWorkFlow:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(ET.Internet.Web.ScriptServices.WorkFlowService.get_path(), 'GetWorkFlow',false,{request:request},succeededCallback,failedCallback,userContext); }}
ET.Internet.Web.ScriptServices.WorkFlowService.registerClass('ET.Internet.Web.ScriptServices.WorkFlowService',Sys.Net.WebServiceProxy);
ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance = new ET.Internet.Web.ScriptServices.WorkFlowService();
ET.Internet.Web.ScriptServices.WorkFlowService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._path = value; }
ET.Internet.Web.ScriptServices.WorkFlowService.get_path = function() { return ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._path; }
ET.Internet.Web.ScriptServices.WorkFlowService.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); }
ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._timeout = value; }
ET.Internet.Web.ScriptServices.WorkFlowService.get_timeout = function() { 
return ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._timeout; }
ET.Internet.Web.ScriptServices.WorkFlowService.set_defaultUserContext = function(value) { 
ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._userContext = value; }
ET.Internet.Web.ScriptServices.WorkFlowService.get_defaultUserContext = function() { 
return ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._userContext; }
ET.Internet.Web.ScriptServices.WorkFlowService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._succeeded = value; }
ET.Internet.Web.ScriptServices.WorkFlowService.get_defaultSucceededCallback = function() { 
return ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._succeeded; }
ET.Internet.Web.ScriptServices.WorkFlowService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._failed = value; }
ET.Internet.Web.ScriptServices.WorkFlowService.get_defaultFailedCallback = function() { 
return ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance._failed; }
ET.Internet.Web.ScriptServices.WorkFlowService.set_path("/_controltemplates/ETUserControls/ScriptServices/WorkFlowService.asmx");
ET.Internet.Web.ScriptServices.WorkFlowService.GetWorkFlow= function(request,onSuccess,onFailed,userContext) {ET.Internet.Web.ScriptServices.WorkFlowService._staticInstance.GetWorkFlow(request,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ET.Internet.Web.ScriptServices.GetWorkFlowRequest) === 'undefined') {
ET.Internet.Web.ScriptServices.GetWorkFlowRequest=gtc("ET.Internet.Web.ScriptServices.GetWorkFlowRequest");
ET.Internet.Web.ScriptServices.GetWorkFlowRequest.registerClass('ET.Internet.Web.ScriptServices.GetWorkFlowRequest');
}
if (typeof(ET.Internet.Web.ScriptServices.GetWorkFlowResponse) === 'undefined') {
ET.Internet.Web.ScriptServices.GetWorkFlowResponse=gtc("ET.Internet.Web.ScriptServices.GetWorkFlowResponse");
ET.Internet.Web.ScriptServices.GetWorkFlowResponse.registerClass('ET.Internet.Web.ScriptServices.GetWorkFlowResponse');
}
