Type.registerNamespace('FaithChallengeG8.Services');
FaithChallengeG8.Services.WebCall=function() {
FaithChallengeG8.Services.WebCall.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FaithChallengeG8.Services.WebCall.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return FaithChallengeG8.Services.WebCall._staticInstance.get_path();},
StorePetitionData:function(name,org,endorsement,isorgendo,address,city,province,country,code,email,subscribe,phone,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="org" type="String">System.String</param>
/// <param name="endorsement" type="String">System.String</param>
/// <param name="isorgendo" type="Boolean">System.Boolean</param>
/// <param name="address" type="String">System.String</param>
/// <param name="city" type="String">System.String</param>
/// <param name="province" type="String">System.String</param>
/// <param name="country" type="String">System.String</param>
/// <param name="code" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="subscribe" type="Boolean">System.Boolean</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'StorePetitionData',false,{name:name,org:org,endorsement:endorsement,isorgendo:isorgendo,address:address,city:city,province:province,country:country,code:code,email:email,subscribe:subscribe,phone:phone},succeededCallback,failedCallback,userContext); },
SendPetitionEmail:function(name,org,endorsement,isorgendo,address,city,province,country,code,email,subscribe,phone,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="org" type="String">System.String</param>
/// <param name="endorsement" type="String">System.String</param>
/// <param name="isorgendo" type="Boolean">System.Boolean</param>
/// <param name="address" type="String">System.String</param>
/// <param name="city" type="String">System.String</param>
/// <param name="province" type="String">System.String</param>
/// <param name="country" type="String">System.String</param>
/// <param name="code" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="subscribe" type="Boolean">System.Boolean</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SendPetitionEmail',false,{name:name,org:org,endorsement:endorsement,isorgendo:isorgendo,address:address,city:city,province:province,country:country,code:code,email:email,subscribe:subscribe,phone:phone},succeededCallback,failedCallback,userContext); }}
FaithChallengeG8.Services.WebCall.registerClass('FaithChallengeG8.Services.WebCall',Sys.Net.WebServiceProxy);
FaithChallengeG8.Services.WebCall._staticInstance = new FaithChallengeG8.Services.WebCall();
FaithChallengeG8.Services.WebCall.set_path = function(value) {
FaithChallengeG8.Services.WebCall._staticInstance.set_path(value); }
FaithChallengeG8.Services.WebCall.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return FaithChallengeG8.Services.WebCall._staticInstance.get_path();}
FaithChallengeG8.Services.WebCall.set_timeout = function(value) {
FaithChallengeG8.Services.WebCall._staticInstance.set_timeout(value); }
FaithChallengeG8.Services.WebCall.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return FaithChallengeG8.Services.WebCall._staticInstance.get_timeout(); }
FaithChallengeG8.Services.WebCall.set_defaultUserContext = function(value) { 
FaithChallengeG8.Services.WebCall._staticInstance.set_defaultUserContext(value); }
FaithChallengeG8.Services.WebCall.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return FaithChallengeG8.Services.WebCall._staticInstance.get_defaultUserContext(); }
FaithChallengeG8.Services.WebCall.set_defaultSucceededCallback = function(value) { 
 FaithChallengeG8.Services.WebCall._staticInstance.set_defaultSucceededCallback(value); }
FaithChallengeG8.Services.WebCall.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return FaithChallengeG8.Services.WebCall._staticInstance.get_defaultSucceededCallback(); }
FaithChallengeG8.Services.WebCall.set_defaultFailedCallback = function(value) { 
FaithChallengeG8.Services.WebCall._staticInstance.set_defaultFailedCallback(value); }
FaithChallengeG8.Services.WebCall.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return FaithChallengeG8.Services.WebCall._staticInstance.get_defaultFailedCallback(); }
FaithChallengeG8.Services.WebCall.set_path("/Services/WebCall.asmx");
FaithChallengeG8.Services.WebCall.StorePetitionData= function(name,org,endorsement,isorgendo,address,city,province,country,code,email,subscribe,phone,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="org" type="String">System.String</param>
/// <param name="endorsement" type="String">System.String</param>
/// <param name="isorgendo" type="Boolean">System.Boolean</param>
/// <param name="address" type="String">System.String</param>
/// <param name="city" type="String">System.String</param>
/// <param name="province" type="String">System.String</param>
/// <param name="country" type="String">System.String</param>
/// <param name="code" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="subscribe" type="Boolean">System.Boolean</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
FaithChallengeG8.Services.WebCall._staticInstance.StorePetitionData(name,org,endorsement,isorgendo,address,city,province,country,code,email,subscribe,phone,onSuccess,onFailed,userContext); }
FaithChallengeG8.Services.WebCall.SendPetitionEmail= function(name,org,endorsement,isorgendo,address,city,province,country,code,email,subscribe,phone,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="org" type="String">System.String</param>
/// <param name="endorsement" type="String">System.String</param>
/// <param name="isorgendo" type="Boolean">System.Boolean</param>
/// <param name="address" type="String">System.String</param>
/// <param name="city" type="String">System.String</param>
/// <param name="province" type="String">System.String</param>
/// <param name="country" type="String">System.String</param>
/// <param name="code" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="subscribe" type="Boolean">System.Boolean</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
FaithChallengeG8.Services.WebCall._staticInstance.SendPetitionEmail(name,org,endorsement,isorgendo,address,city,province,country,code,email,subscribe,phone,onSuccess,onFailed,userContext); }

