var ProcessForm=function() {
ProcessForm.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProcessForm.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ProcessForm._staticInstance.get_path();},
sendEmail:function(eml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sendEmail',false,{eml:eml},succeededCallback,failedCallback,userContext); }}
ProcessForm.registerClass('ProcessForm',Sys.Net.WebServiceProxy);
ProcessForm._staticInstance = new ProcessForm();
ProcessForm.set_path = function(value) { ProcessForm._staticInstance.set_path(value); }
ProcessForm.get_path = function() { return ProcessForm._staticInstance.get_path(); }
ProcessForm.set_timeout = function(value) { ProcessForm._staticInstance.set_timeout(value); }
ProcessForm.get_timeout = function() { return ProcessForm._staticInstance.get_timeout(); }
ProcessForm.set_defaultUserContext = function(value) { ProcessForm._staticInstance.set_defaultUserContext(value); }
ProcessForm.get_defaultUserContext = function() { return ProcessForm._staticInstance.get_defaultUserContext(); }
ProcessForm.set_defaultSucceededCallback = function(value) { ProcessForm._staticInstance.set_defaultSucceededCallback(value); }
ProcessForm.get_defaultSucceededCallback = function() { return ProcessForm._staticInstance.get_defaultSucceededCallback(); }
ProcessForm.set_defaultFailedCallback = function(value) { ProcessForm._staticInstance.set_defaultFailedCallback(value); }
ProcessForm.get_defaultFailedCallback = function() { return ProcessForm._staticInstance.get_defaultFailedCallback(); }
ProcessForm.set_path("/gateway/ProcessForm.svc");
ProcessForm.sendEmail= function(eml,onSuccess,onFailed,userContext) {ProcessForm._staticInstance.sendEmail(eml,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(formData) === 'undefined') {
var formData=gtc("formData:http://schemas.datacontract.org/2004/07/");
formData.registerClass('formData');
}
if (typeof(emlError) === 'undefined') {
var emlError=gtc("emlError:http://schemas.datacontract.org/2004/07/");
emlError.registerClass('emlError');
}
