Type.registerNamespace('thmz.shire.services');
thmz.shire.services.ajaxcall=function() {
thmz.shire.services.ajaxcall.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
thmz.shire.services.ajaxcall.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return thmz.shire.services.ajaxcall._staticInstance.get_path();},
HelloWorld: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(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
UpdatePhotoNotes:function(photoid,words,succeededCallback, failedCallback, userContext) {
/// <param name="photoid" type="Number">System.Int32</param>
/// <param name="words" 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(), 'UpdatePhotoNotes',false,{photoid:photoid,words:words},succeededCallback,failedCallback,userContext); },
UpdatePhotoTitle:function(photoid,words,succeededCallback, failedCallback, userContext) {
/// <param name="photoid" type="Number">System.Int32</param>
/// <param name="words" 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(), 'UpdatePhotoTitle',false,{photoid:photoid,words:words},succeededCallback,failedCallback,userContext); },
GetUserInfo:function(_userid,succeededCallback, failedCallback, userContext) {
/// <param name="_userid" 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(), 'GetUserInfo',false,{_userid:_userid},succeededCallback,failedCallback,userContext); },
GetSmilePics:function(folderid,succeededCallback, failedCallback, userContext) {
/// <param name="folderid" 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(), 'GetSmilePics',false,{folderid:folderid},succeededCallback,failedCallback,userContext); }}
thmz.shire.services.ajaxcall.registerClass('thmz.shire.services.ajaxcall',Sys.Net.WebServiceProxy);
thmz.shire.services.ajaxcall._staticInstance = new thmz.shire.services.ajaxcall();
thmz.shire.services.ajaxcall.set_path = function(value) {
thmz.shire.services.ajaxcall._staticInstance.set_path(value); }
thmz.shire.services.ajaxcall.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return thmz.shire.services.ajaxcall._staticInstance.get_path();}
thmz.shire.services.ajaxcall.set_timeout = function(value) {
thmz.shire.services.ajaxcall._staticInstance.set_timeout(value); }
thmz.shire.services.ajaxcall.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return thmz.shire.services.ajaxcall._staticInstance.get_timeout(); }
thmz.shire.services.ajaxcall.set_defaultUserContext = function(value) { 
thmz.shire.services.ajaxcall._staticInstance.set_defaultUserContext(value); }
thmz.shire.services.ajaxcall.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return thmz.shire.services.ajaxcall._staticInstance.get_defaultUserContext(); }
thmz.shire.services.ajaxcall.set_defaultSucceededCallback = function(value) { 
 thmz.shire.services.ajaxcall._staticInstance.set_defaultSucceededCallback(value); }
thmz.shire.services.ajaxcall.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return thmz.shire.services.ajaxcall._staticInstance.get_defaultSucceededCallback(); }
thmz.shire.services.ajaxcall.set_defaultFailedCallback = function(value) { 
thmz.shire.services.ajaxcall._staticInstance.set_defaultFailedCallback(value); }
thmz.shire.services.ajaxcall.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return thmz.shire.services.ajaxcall._staticInstance.get_defaultFailedCallback(); }
thmz.shire.services.ajaxcall.set_path("/services/ajaxcall.asmx");
thmz.shire.services.ajaxcall.HelloWorld= 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>
thmz.shire.services.ajaxcall._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
thmz.shire.services.ajaxcall.UpdatePhotoNotes= function(photoid,words,onSuccess,onFailed,userContext) {
/// <param name="photoid" type="Number">System.Int32</param>
/// <param name="words" 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>
thmz.shire.services.ajaxcall._staticInstance.UpdatePhotoNotes(photoid,words,onSuccess,onFailed,userContext); }
thmz.shire.services.ajaxcall.UpdatePhotoTitle= function(photoid,words,onSuccess,onFailed,userContext) {
/// <param name="photoid" type="Number">System.Int32</param>
/// <param name="words" 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>
thmz.shire.services.ajaxcall._staticInstance.UpdatePhotoTitle(photoid,words,onSuccess,onFailed,userContext); }
thmz.shire.services.ajaxcall.GetUserInfo= function(_userid,onSuccess,onFailed,userContext) {
/// <param name="_userid" 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>
thmz.shire.services.ajaxcall._staticInstance.GetUserInfo(_userid,onSuccess,onFailed,userContext); }
thmz.shire.services.ajaxcall.GetSmilePics= function(folderid,onSuccess,onFailed,userContext) {
/// <param name="folderid" 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>
thmz.shire.services.ajaxcall._staticInstance.GetSmilePics(folderid,onSuccess,onFailed,userContext); }
