Type.registerNamespace('Gallery.Service');
Gallery.Service.ServiceWeb=function() {
Gallery.Service.ServiceWeb.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Gallery.Service.ServiceWeb.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Gallery.Service.ServiceWeb._staticInstance.get_path();},
GetGalleryImageList:function(strDirectory,succeededCallback, failedCallback, userContext) {
/// <param name="strDirectory" 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(), 'GetGalleryImageList',false,{strDirectory:strDirectory},succeededCallback,failedCallback,userContext); }}
Gallery.Service.ServiceWeb.registerClass('Gallery.Service.ServiceWeb',Sys.Net.WebServiceProxy);
Gallery.Service.ServiceWeb._staticInstance = new Gallery.Service.ServiceWeb();
Gallery.Service.ServiceWeb.set_path = function(value) {
Gallery.Service.ServiceWeb._staticInstance.set_path(value); }
Gallery.Service.ServiceWeb.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Gallery.Service.ServiceWeb._staticInstance.get_path();}
Gallery.Service.ServiceWeb.set_timeout = function(value) {
Gallery.Service.ServiceWeb._staticInstance.set_timeout(value); }
Gallery.Service.ServiceWeb.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Gallery.Service.ServiceWeb._staticInstance.get_timeout(); }
Gallery.Service.ServiceWeb.set_defaultUserContext = function(value) { 
Gallery.Service.ServiceWeb._staticInstance.set_defaultUserContext(value); }
Gallery.Service.ServiceWeb.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Gallery.Service.ServiceWeb._staticInstance.get_defaultUserContext(); }
Gallery.Service.ServiceWeb.set_defaultSucceededCallback = function(value) { 
 Gallery.Service.ServiceWeb._staticInstance.set_defaultSucceededCallback(value); }
Gallery.Service.ServiceWeb.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Gallery.Service.ServiceWeb._staticInstance.get_defaultSucceededCallback(); }
Gallery.Service.ServiceWeb.set_defaultFailedCallback = function(value) { 
Gallery.Service.ServiceWeb._staticInstance.set_defaultFailedCallback(value); }
Gallery.Service.ServiceWeb.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Gallery.Service.ServiceWeb._staticInstance.get_defaultFailedCallback(); }
Gallery.Service.ServiceWeb.set_path("/serviceweb.asmx");
Gallery.Service.ServiceWeb.GetGalleryImageList= function(strDirectory,onSuccess,onFailed,userContext) {
/// <param name="strDirectory" 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>
Gallery.Service.ServiceWeb._staticInstance.GetGalleryImageList(strDirectory,onSuccess,onFailed,userContext); }
