var RegistrantService=function() {
RegistrantService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RegistrantService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RegistrantService._staticInstance.get_path();},
SaveRegistrant:function(registrantID,salutation,firstName,lastName,organization,jobTitle,phone,email,password,countryID,stateID,addressOne,addressTwo,city,postalCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveRegistrant',false,{registrantID:registrantID,salutation:salutation,firstName:firstName,lastName:lastName,organization:organization,jobTitle:jobTitle,phone:phone,email:email,password:password,countryID:countryID,stateID:stateID,addressOne:addressOne,addressTwo:addressTwo,city:city,postalCode:postalCode},succeededCallback,failedCallback,userContext); },
SaveRegistrantInfo:function(interests,registrantID,industryID,roleID,categoryGroupID,revenueCountID,employeeCountID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveRegistrantInfo',false,{interests:interests,registrantID:registrantID,industryID:industryID,roleID:roleID,categoryGroupID:categoryGroupID,revenueCountID:revenueCountID,employeeCountID:employeeCountID},succeededCallback,failedCallback,userContext); },
GetRegister:function(registrantID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRegister',false,{registrantID:registrantID},succeededCallback,failedCallback,userContext); },
GetStates:function(nationID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStates',false,{nationID:nationID},succeededCallback,failedCallback,userContext); },
RetrievePassword:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RetrievePassword',false,{email:email},succeededCallback,failedCallback,userContext); }}
RegistrantService.registerClass('RegistrantService',Sys.Net.WebServiceProxy);
RegistrantService._staticInstance = new RegistrantService();
RegistrantService.set_path = function(value) { RegistrantService._staticInstance.set_path(value); }
RegistrantService.get_path = function() { return RegistrantService._staticInstance.get_path(); }
RegistrantService.set_timeout = function(value) { RegistrantService._staticInstance.set_timeout(value); }
RegistrantService.get_timeout = function() { return RegistrantService._staticInstance.get_timeout(); }
RegistrantService.set_defaultUserContext = function(value) { RegistrantService._staticInstance.set_defaultUserContext(value); }
RegistrantService.get_defaultUserContext = function() { return RegistrantService._staticInstance.get_defaultUserContext(); }
RegistrantService.set_defaultSucceededCallback = function(value) { RegistrantService._staticInstance.set_defaultSucceededCallback(value); }
RegistrantService.get_defaultSucceededCallback = function() { return RegistrantService._staticInstance.get_defaultSucceededCallback(); }
RegistrantService.set_defaultFailedCallback = function(value) { RegistrantService._staticInstance.set_defaultFailedCallback(value); }
RegistrantService.get_defaultFailedCallback = function() { return RegistrantService._staticInstance.get_defaultFailedCallback(); }
RegistrantService.set_path("/RegistrantService.svc");
RegistrantService.SaveRegistrant= function(registrantID,salutation,firstName,lastName,organization,jobTitle,phone,email,password,countryID,stateID,addressOne,addressTwo,city,postalCode,onSuccess,onFailed,userContext) {RegistrantService._staticInstance.SaveRegistrant(registrantID,salutation,firstName,lastName,organization,jobTitle,phone,email,password,countryID,stateID,addressOne,addressTwo,city,postalCode,onSuccess,onFailed,userContext); }
RegistrantService.SaveRegistrantInfo= function(interests,registrantID,industryID,roleID,categoryGroupID,revenueCountID,employeeCountID,onSuccess,onFailed,userContext) {RegistrantService._staticInstance.SaveRegistrantInfo(interests,registrantID,industryID,roleID,categoryGroupID,revenueCountID,employeeCountID,onSuccess,onFailed,userContext); }
RegistrantService.GetRegister= function(registrantID,onSuccess,onFailed,userContext) {RegistrantService._staticInstance.GetRegister(registrantID,onSuccess,onFailed,userContext); }
RegistrantService.GetStates= function(nationID,onSuccess,onFailed,userContext) {RegistrantService._staticInstance.GetStates(nationID,onSuccess,onFailed,userContext); }
RegistrantService.RetrievePassword= function(email,onSuccess,onFailed,userContext) {RegistrantService._staticInstance.RetrievePassword(email,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Registrant) === 'undefined') {
var Registrant=gtc("Registrant:http://schemas.datacontract.org/2004/07/");
Registrant.registerClass('Registrant');
}
