Type.registerNamespace('Code1');
Code1.WebSrvPhoto=function() {
Code1.WebSrvPhoto.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Code1.WebSrvPhoto.prototype={
GetPhoto:function(Index,Max,media,theme,login,succeededCallback, failedCallback, userContext) {
return this._invoke(Code1.WebSrvPhoto.get_path(), 'GetPhoto',false,{Index:Index,Max:Max,media:media,theme:theme,login:login},succeededCallback,failedCallback,userContext); },
GetPhotoRoot:function(Index,Max,media,theme,login,localhost,succeededCallback, failedCallback, userContext) {
return this._invoke(Code1.WebSrvPhoto.get_path(), 'GetPhotoRoot',false,{Index:Index,Max:Max,media:media,theme:theme,login:login,localhost:localhost},succeededCallback,failedCallback,userContext); }}
Code1.WebSrvPhoto.registerClass('Code1.WebSrvPhoto',Sys.Net.WebServiceProxy);
Code1.WebSrvPhoto._staticInstance = new Code1.WebSrvPhoto();
Code1.WebSrvPhoto.set_path = function(value) { Code1.WebSrvPhoto._staticInstance._path = value; }
Code1.WebSrvPhoto.get_path = function() { return Code1.WebSrvPhoto._staticInstance._path; }
Code1.WebSrvPhoto.set_timeout = function(value) { Code1.WebSrvPhoto._staticInstance._timeout = value; }
Code1.WebSrvPhoto.get_timeout = function() { return Code1.WebSrvPhoto._staticInstance._timeout; }
Code1.WebSrvPhoto.set_defaultUserContext = function(value) { Code1.WebSrvPhoto._staticInstance._userContext = value; }
Code1.WebSrvPhoto.get_defaultUserContext = function() { return Code1.WebSrvPhoto._staticInstance._userContext; }
Code1.WebSrvPhoto.set_defaultSucceededCallback = function(value) { Code1.WebSrvPhoto._staticInstance._succeeded = value; }
Code1.WebSrvPhoto.get_defaultSucceededCallback = function() { return Code1.WebSrvPhoto._staticInstance._succeeded; }
Code1.WebSrvPhoto.set_defaultFailedCallback = function(value) { Code1.WebSrvPhoto._staticInstance._failed = value; }
Code1.WebSrvPhoto.get_defaultFailedCallback = function() { return Code1.WebSrvPhoto._staticInstance._failed; }
Code1.WebSrvPhoto.set_path("/WebSrv/WebSrvPhoto.asmx");
Code1.WebSrvPhoto.GetPhoto= function(Index,Max,media,theme,login,onSuccess,onFailed,userContext) {Code1.WebSrvPhoto._staticInstance.GetPhoto(Index,Max,media,theme,login,onSuccess,onFailed,userContext); }
Code1.WebSrvPhoto.GetPhotoRoot= function(Index,Max,media,theme,login,localhost,onSuccess,onFailed,userContext) {Code1.WebSrvPhoto._staticInstance.GetPhotoRoot(Index,Max,media,theme,login,localhost,onSuccess,onFailed,userContext); }
