Type.registerNamespace('CMA.Web');
CMA.Web.FormHelperService=function() {
CMA.Web.FormHelperService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CMA.Web.FormHelperService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CMA.Web.FormHelperService._staticInstance.get_path();},
Submit:function(formname,formValues,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Submit',false,{formname:formname,formValues:formValues},succeededCallback,failedCallback,userContext); }}
CMA.Web.FormHelperService.registerClass('CMA.Web.FormHelperService',Sys.Net.WebServiceProxy);
CMA.Web.FormHelperService._staticInstance = new CMA.Web.FormHelperService();
CMA.Web.FormHelperService.set_path = function(value) { CMA.Web.FormHelperService._staticInstance.set_path(value); }
CMA.Web.FormHelperService.get_path = function() { return CMA.Web.FormHelperService._staticInstance.get_path(); }
CMA.Web.FormHelperService.set_timeout = function(value) { CMA.Web.FormHelperService._staticInstance.set_timeout(value); }
CMA.Web.FormHelperService.get_timeout = function() { return CMA.Web.FormHelperService._staticInstance.get_timeout(); }
CMA.Web.FormHelperService.set_defaultUserContext = function(value) { CMA.Web.FormHelperService._staticInstance.set_defaultUserContext(value); }
CMA.Web.FormHelperService.get_defaultUserContext = function() { return CMA.Web.FormHelperService._staticInstance.get_defaultUserContext(); }
CMA.Web.FormHelperService.set_defaultSucceededCallback = function(value) { CMA.Web.FormHelperService._staticInstance.set_defaultSucceededCallback(value); }
CMA.Web.FormHelperService.get_defaultSucceededCallback = function() { return CMA.Web.FormHelperService._staticInstance.get_defaultSucceededCallback(); }
CMA.Web.FormHelperService.set_defaultFailedCallback = function(value) { CMA.Web.FormHelperService._staticInstance.set_defaultFailedCallback(value); }
CMA.Web.FormHelperService.get_defaultFailedCallback = function() { return CMA.Web.FormHelperService._staticInstance.get_defaultFailedCallback(); }
CMA.Web.FormHelperService.set_path("/_webservice/formhelperservice.asmx");
CMA.Web.FormHelperService.Submit= function(formname,formValues,onSuccess,onFailed,userContext) {CMA.Web.FormHelperService._staticInstance.Submit(formname,formValues,onSuccess,onFailed,userContext); }

