var AjaxWebService=function() {
AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AjaxWebService._staticInstance.get_path();},
LogScore:function(intScore,intId,succeededCallback, failedCallback, userContext) {
/// <param name="intScore" type="Number">System.Int32</param>
/// <param name="intId" type="Number">System.Int32</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(), 'LogScore',false,{intScore:intScore,intId:intId},succeededCallback,failedCallback,userContext); },
LogShare:function(intId,strSite,succeededCallback, failedCallback, userContext) {
/// <param name="intId" type="Number">System.Int32</param>
/// <param name="strSite" 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(), 'LogShare',false,{intId:intId,strSite:strSite},succeededCallback,failedCallback,userContext); },
NewPost:function(strName,strSM,strSystem,succeededCallback, failedCallback, userContext) {
/// <param name="strName" type="String">System.String</param>
/// <param name="strSM" type="String">System.String</param>
/// <param name="strSystem" 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(), 'NewPost',false,{strName:strName,strSM:strSM,strSystem:strSystem},succeededCallback,failedCallback,userContext); },
SetStatus:function(strStatus,succeededCallback, failedCallback, userContext) {
/// <param name="strStatus" 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(), 'SetStatus',false,{strStatus:strStatus},succeededCallback,failedCallback,userContext); },
GetRandomStatusMessage: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(), 'GetRandomStatusMessage',false,{},succeededCallback,failedCallback,userContext); }}
AjaxWebService.registerClass('AjaxWebService',Sys.Net.WebServiceProxy);
AjaxWebService._staticInstance = new AjaxWebService();
AjaxWebService.set_path = function(value) {
AjaxWebService._staticInstance.set_path(value); }
AjaxWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AjaxWebService._staticInstance.get_path();}
AjaxWebService.set_timeout = function(value) {
AjaxWebService._staticInstance.set_timeout(value); }
AjaxWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AjaxWebService._staticInstance.get_timeout(); }
AjaxWebService.set_defaultUserContext = function(value) { 
AjaxWebService._staticInstance.set_defaultUserContext(value); }
AjaxWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AjaxWebService._staticInstance.get_defaultUserContext(); }
AjaxWebService.set_defaultSucceededCallback = function(value) { 
 AjaxWebService._staticInstance.set_defaultSucceededCallback(value); }
AjaxWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AjaxWebService._staticInstance.get_defaultSucceededCallback(); }
AjaxWebService.set_defaultFailedCallback = function(value) { 
AjaxWebService._staticInstance.set_defaultFailedCallback(value); }
AjaxWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AjaxWebService._staticInstance.get_defaultFailedCallback(); }
AjaxWebService.set_enableJsonp = function(value) { AjaxWebService._staticInstance.set_enableJsonp(value); }
AjaxWebService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return AjaxWebService._staticInstance.get_enableJsonp(); }
AjaxWebService.set_jsonpCallbackParameter = function(value) { AjaxWebService._staticInstance.set_jsonpCallbackParameter(value); }
AjaxWebService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return AjaxWebService._staticInstance.get_jsonpCallbackParameter(); }
AjaxWebService.set_path("/AjaxWebService.asmx");
AjaxWebService.LogScore= function(intScore,intId,onSuccess,onFailed,userContext) {
/// <param name="intScore" type="Number">System.Int32</param>
/// <param name="intId" type="Number">System.Int32</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>
AjaxWebService._staticInstance.LogScore(intScore,intId,onSuccess,onFailed,userContext); }
AjaxWebService.LogShare= function(intId,strSite,onSuccess,onFailed,userContext) {
/// <param name="intId" type="Number">System.Int32</param>
/// <param name="strSite" 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>
AjaxWebService._staticInstance.LogShare(intId,strSite,onSuccess,onFailed,userContext); }
AjaxWebService.NewPost= function(strName,strSM,strSystem,onSuccess,onFailed,userContext) {
/// <param name="strName" type="String">System.String</param>
/// <param name="strSM" type="String">System.String</param>
/// <param name="strSystem" 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>
AjaxWebService._staticInstance.NewPost(strName,strSM,strSystem,onSuccess,onFailed,userContext); }
AjaxWebService.SetStatus= function(strStatus,onSuccess,onFailed,userContext) {
/// <param name="strStatus" 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>
AjaxWebService._staticInstance.SetStatus(strStatus,onSuccess,onFailed,userContext); }
AjaxWebService.GetRandomStatusMessage= 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>
AjaxWebService._staticInstance.GetRandomStatusMessage(onSuccess,onFailed,userContext); }

