var DirectoryWebService=function() {
DirectoryWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DirectoryWebService.prototype={
Search:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DirectoryWebService.get_path(), 'Search',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
SearchEmail:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DirectoryWebService.get_path(), 'SearchEmail',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetOrgChart:function(supervisorEmail,succeededCallback, failedCallback, userContext) {
return this._invoke(DirectoryWebService.get_path(), 'GetOrgChart',false,{supervisorEmail:supervisorEmail},succeededCallback,failedCallback,userContext); }}
DirectoryWebService.registerClass('DirectoryWebService',Sys.Net.WebServiceProxy);
DirectoryWebService._staticInstance = new DirectoryWebService();
DirectoryWebService.set_path = function(value) { DirectoryWebService._staticInstance._path = value; }
DirectoryWebService.get_path = function() { return DirectoryWebService._staticInstance._path; }
DirectoryWebService.set_timeout = function(value) { DirectoryWebService._staticInstance._timeout = value; }
DirectoryWebService.get_timeout = function() { return DirectoryWebService._staticInstance._timeout; }
DirectoryWebService.set_defaultUserContext = function(value) { DirectoryWebService._staticInstance._userContext = value; }
DirectoryWebService.get_defaultUserContext = function() { return DirectoryWebService._staticInstance._userContext; }
DirectoryWebService.set_defaultSucceededCallback = function(value) { DirectoryWebService._staticInstance._succeeded = value; }
DirectoryWebService.get_defaultSucceededCallback = function() { return DirectoryWebService._staticInstance._succeeded; }
DirectoryWebService.set_defaultFailedCallback = function(value) { DirectoryWebService._staticInstance._failed = value; }
DirectoryWebService.get_defaultFailedCallback = function() { return DirectoryWebService._staticInstance._failed; }
DirectoryWebService.set_path("/Directory/DirectoryWebService.asmx");
DirectoryWebService.Search= function(prefixText,count,onSuccess,onFailed,userContext) {DirectoryWebService._staticInstance.Search(prefixText,count,onSuccess,onFailed,userContext); }
DirectoryWebService.SearchEmail= function(prefixText,count,onSuccess,onFailed,userContext) {DirectoryWebService._staticInstance.SearchEmail(prefixText,count,onSuccess,onFailed,userContext); }
DirectoryWebService.GetOrgChart= function(supervisorEmail,onSuccess,onFailed,userContext) {DirectoryWebService._staticInstance.GetOrgChart(supervisorEmail,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(DirectoryWebService_OrgChart) === 'undefined') {
var DirectoryWebService_OrgChart=gtc("DirectoryWebService+OrgChart");
DirectoryWebService_OrgChart.registerClass('DirectoryWebService_OrgChart');
}
