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