Type.registerNamespace('Somsoft.LottoBongo');
Somsoft.LottoBongo.RootWebService=function() {
Somsoft.LottoBongo.RootWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Somsoft.LottoBongo.RootWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Somsoft.LottoBongo.RootWebService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetLatestResult:function(lotteryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLatestResult',false,{lotteryID:lotteryID},succeededCallback,failedCallback,userContext); },
GetLatestResults:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLatestResults',false,{},succeededCallback,failedCallback,userContext); },
IsFacebookConnect:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsFacebookConnect',false,{},succeededCallback,failedCallback,userContext); },
SaveGroupOptions:function(fbuid,groupEmail,groupSMS,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveGroupOptions',false,{fbuid:fbuid,groupEmail:groupEmail,groupSMS:groupSMS},succeededCallback,failedCallback,userContext); },
GetUser:function(fbuid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUser',false,{fbuid:fbuid},succeededCallback,failedCallback,userContext); }}
Somsoft.LottoBongo.RootWebService.registerClass('Somsoft.LottoBongo.RootWebService',Sys.Net.WebServiceProxy);
Somsoft.LottoBongo.RootWebService._staticInstance = new Somsoft.LottoBongo.RootWebService();
Somsoft.LottoBongo.RootWebService.set_path = function(value) { Somsoft.LottoBongo.RootWebService._staticInstance.set_path(value); }
Somsoft.LottoBongo.RootWebService.get_path = function() { return Somsoft.LottoBongo.RootWebService._staticInstance.get_path(); }
Somsoft.LottoBongo.RootWebService.set_timeout = function(value) { Somsoft.LottoBongo.RootWebService._staticInstance.set_timeout(value); }
Somsoft.LottoBongo.RootWebService.get_timeout = function() { return Somsoft.LottoBongo.RootWebService._staticInstance.get_timeout(); }
Somsoft.LottoBongo.RootWebService.set_defaultUserContext = function(value) { Somsoft.LottoBongo.RootWebService._staticInstance.set_defaultUserContext(value); }
Somsoft.LottoBongo.RootWebService.get_defaultUserContext = function() { return Somsoft.LottoBongo.RootWebService._staticInstance.get_defaultUserContext(); }
Somsoft.LottoBongo.RootWebService.set_defaultSucceededCallback = function(value) { Somsoft.LottoBongo.RootWebService._staticInstance.set_defaultSucceededCallback(value); }
Somsoft.LottoBongo.RootWebService.get_defaultSucceededCallback = function() { return Somsoft.LottoBongo.RootWebService._staticInstance.get_defaultSucceededCallback(); }
Somsoft.LottoBongo.RootWebService.set_defaultFailedCallback = function(value) { Somsoft.LottoBongo.RootWebService._staticInstance.set_defaultFailedCallback(value); }
Somsoft.LottoBongo.RootWebService.get_defaultFailedCallback = function() { return Somsoft.LottoBongo.RootWebService._staticInstance.get_defaultFailedCallback(); }
Somsoft.LottoBongo.RootWebService.set_path("/RootWebService.asmx");
Somsoft.LottoBongo.RootWebService.HelloWorld= function(onSuccess,onFailed,userContext) {Somsoft.LottoBongo.RootWebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
Somsoft.LottoBongo.RootWebService.GetLatestResult= function(lotteryID,onSuccess,onFailed,userContext) {Somsoft.LottoBongo.RootWebService._staticInstance.GetLatestResult(lotteryID,onSuccess,onFailed,userContext); }
Somsoft.LottoBongo.RootWebService.GetLatestResults= function(onSuccess,onFailed,userContext) {Somsoft.LottoBongo.RootWebService._staticInstance.GetLatestResults(onSuccess,onFailed,userContext); }
Somsoft.LottoBongo.RootWebService.IsFacebookConnect= function(onSuccess,onFailed,userContext) {Somsoft.LottoBongo.RootWebService._staticInstance.IsFacebookConnect(onSuccess,onFailed,userContext); }
Somsoft.LottoBongo.RootWebService.SaveGroupOptions= function(fbuid,groupEmail,groupSMS,onSuccess,onFailed,userContext) {Somsoft.LottoBongo.RootWebService._staticInstance.SaveGroupOptions(fbuid,groupEmail,groupSMS,onSuccess,onFailed,userContext); }
Somsoft.LottoBongo.RootWebService.GetUser= function(fbuid,onSuccess,onFailed,userContext) {Somsoft.LottoBongo.RootWebService._staticInstance.GetUser(fbuid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Somsoft.LottoBongo.GetLatestResultResult) === 'undefined') {
Somsoft.LottoBongo.GetLatestResultResult=gtc("Somsoft.LottoBongo.GetLatestResultResult");
Somsoft.LottoBongo.GetLatestResultResult.registerClass('Somsoft.LottoBongo.GetLatestResultResult');
}
if (typeof(Somsoft.LottoBongo.User) === 'undefined') {
Somsoft.LottoBongo.User=gtc("Somsoft.LottoBongo.User");
Somsoft.LottoBongo.User.registerClass('Somsoft.LottoBongo.User');
}

