Type.registerNamespace('GoalTenderWeb.Services');
GoalTenderWeb.Services.GoalSetting=function() {
GoalTenderWeb.Services.GoalSetting.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GoalTenderWeb.Services.GoalSetting.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GoalTenderWeb.Services.GoalSetting._staticInstance.get_path();},
SaveValues:function(sValue1,sValue2,sValue3,succeededCallback, failedCallback, userContext) {
/// <param name="sValue1" type="String">System.String</param>
/// <param name="sValue2" type="String">System.String</param>
/// <param name="sValue3" 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(), 'SaveValues',false,{sValue1:sValue1,sValue2:sValue2,sValue3:sValue3},succeededCallback,failedCallback,userContext); },
SaveIdealLife:function(sPerfectWorld,sPassionAbout,sBestInWorld,sEconomicEngine,succeededCallback, failedCallback, userContext) {
/// <param name="sPerfectWorld" type="String">System.String</param>
/// <param name="sPassionAbout" type="String">System.String</param>
/// <param name="sBestInWorld" type="String">System.String</param>
/// <param name="sEconomicEngine" 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(), 'SaveIdealLife',false,{sPerfectWorld:sPerfectWorld,sPassionAbout:sPassionAbout,sBestInWorld:sBestInWorld,sEconomicEngine:sEconomicEngine},succeededCallback,failedCallback,userContext); },
ViewAllGoals:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'ViewAllGoals',false,{},succeededCallback,failedCallback,userContext); }}
GoalTenderWeb.Services.GoalSetting.registerClass('GoalTenderWeb.Services.GoalSetting',Sys.Net.WebServiceProxy);
GoalTenderWeb.Services.GoalSetting._staticInstance = new GoalTenderWeb.Services.GoalSetting();
GoalTenderWeb.Services.GoalSetting.set_path = function(value) {
GoalTenderWeb.Services.GoalSetting._staticInstance.set_path(value); }
GoalTenderWeb.Services.GoalSetting.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GoalTenderWeb.Services.GoalSetting._staticInstance.get_path();}
GoalTenderWeb.Services.GoalSetting.set_timeout = function(value) {
GoalTenderWeb.Services.GoalSetting._staticInstance.set_timeout(value); }
GoalTenderWeb.Services.GoalSetting.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GoalTenderWeb.Services.GoalSetting._staticInstance.get_timeout(); }
GoalTenderWeb.Services.GoalSetting.set_defaultUserContext = function(value) { 
GoalTenderWeb.Services.GoalSetting._staticInstance.set_defaultUserContext(value); }
GoalTenderWeb.Services.GoalSetting.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GoalTenderWeb.Services.GoalSetting._staticInstance.get_defaultUserContext(); }
GoalTenderWeb.Services.GoalSetting.set_defaultSucceededCallback = function(value) { 
 GoalTenderWeb.Services.GoalSetting._staticInstance.set_defaultSucceededCallback(value); }
GoalTenderWeb.Services.GoalSetting.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GoalTenderWeb.Services.GoalSetting._staticInstance.get_defaultSucceededCallback(); }
GoalTenderWeb.Services.GoalSetting.set_defaultFailedCallback = function(value) { 
GoalTenderWeb.Services.GoalSetting._staticInstance.set_defaultFailedCallback(value); }
GoalTenderWeb.Services.GoalSetting.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GoalTenderWeb.Services.GoalSetting._staticInstance.get_defaultFailedCallback(); }
GoalTenderWeb.Services.GoalSetting.set_path("/Services/GoalSetting.asmx");
GoalTenderWeb.Services.GoalSetting.SaveValues= function(sValue1,sValue2,sValue3,onSuccess,onFailed,userContext) {
/// <param name="sValue1" type="String">System.String</param>
/// <param name="sValue2" type="String">System.String</param>
/// <param name="sValue3" 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>
GoalTenderWeb.Services.GoalSetting._staticInstance.SaveValues(sValue1,sValue2,sValue3,onSuccess,onFailed,userContext); }
GoalTenderWeb.Services.GoalSetting.SaveIdealLife= function(sPerfectWorld,sPassionAbout,sBestInWorld,sEconomicEngine,onSuccess,onFailed,userContext) {
/// <param name="sPerfectWorld" type="String">System.String</param>
/// <param name="sPassionAbout" type="String">System.String</param>
/// <param name="sBestInWorld" type="String">System.String</param>
/// <param name="sEconomicEngine" 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>
GoalTenderWeb.Services.GoalSetting._staticInstance.SaveIdealLife(sPerfectWorld,sPassionAbout,sBestInWorld,sEconomicEngine,onSuccess,onFailed,userContext); }
GoalTenderWeb.Services.GoalSetting.ViewAllGoals= function(onSuccess,onFailed,userContext) {
/// <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>
GoalTenderWeb.Services.GoalSetting._staticInstance.ViewAllGoals(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('GoalTenderWeb.Structs');
if (typeof(GoalTenderWeb.Structs.LuluResponse) === 'undefined') {
GoalTenderWeb.Structs.LuluResponse=gtc("GoalTenderWeb.Structs.LuluResponse");
GoalTenderWeb.Structs.LuluResponse.registerClass('GoalTenderWeb.Structs.LuluResponse');
}
