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