var MasterWebService=function() {
MasterWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MasterWebService.prototype={
SubmitForm:function(pUserID,pPassword,pFormID,pFormTab,pFormTabPage,pModeID,pRequest,pEncrypted,succeededCallback, failedCallback, userContext) {
return this._invoke(MasterWebService.get_path(), 'SubmitForm',false,{pUserID:pUserID,pPassword:pPassword,pFormID:pFormID,pFormTab:pFormTab,pFormTabPage:pFormTabPage,pModeID:pModeID,pRequest:pRequest,pEncrypted:pEncrypted},succeededCallback,failedCallback,userContext); },
ProcessButton:function(pSessionID,pButtonID,pFormID,pFormTab,pFormTabPage,pModeID,pRequest,succeededCallback, failedCallback, userContext) {
return this._invoke(MasterWebService.get_path(), 'ProcessButton',false,{pSessionID:pSessionID,pButtonID:pButtonID,pFormID:pFormID,pFormTab:pFormTab,pFormTabPage:pFormTabPage,pModeID:pModeID,pRequest:pRequest},succeededCallback,failedCallback,userContext); }}
MasterWebService.registerClass('MasterWebService',Sys.Net.WebServiceProxy);
MasterWebService._staticInstance = new MasterWebService();
MasterWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MasterWebService._staticInstance._path = value; }
MasterWebService.get_path = function() { return MasterWebService._staticInstance._path; }
MasterWebService.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); }
MasterWebService._staticInstance._timeout = value; }
MasterWebService.get_timeout = function() { 
return MasterWebService._staticInstance._timeout; }
MasterWebService.set_defaultUserContext = function(value) { 
MasterWebService._staticInstance._userContext = value; }
MasterWebService.get_defaultUserContext = function() { 
return MasterWebService._staticInstance._userContext; }
MasterWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MasterWebService._staticInstance._succeeded = value; }
MasterWebService.get_defaultSucceededCallback = function() { 
return MasterWebService._staticInstance._succeeded; }
MasterWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MasterWebService._staticInstance._failed = value; }
MasterWebService.get_defaultFailedCallback = function() { 
return MasterWebService._staticInstance._failed; }
MasterWebService.set_path("/MasterWebService.asmx");
MasterWebService.SubmitForm= function(pUserID,pPassword,pFormID,pFormTab,pFormTabPage,pModeID,pRequest,pEncrypted,onSuccess,onFailed,userContext) {MasterWebService._staticInstance.SubmitForm(pUserID,pPassword,pFormID,pFormTab,pFormTabPage,pModeID,pRequest,pEncrypted,onSuccess,onFailed,userContext); }
MasterWebService.ProcessButton= function(pSessionID,pButtonID,pFormID,pFormTab,pFormTabPage,pModeID,pRequest,onSuccess,onFailed,userContext) {MasterWebService._staticInstance.ProcessButton(pSessionID,pButtonID,pFormID,pFormTab,pFormTabPage,pModeID,pRequest,onSuccess,onFailed,userContext); }

