var AsyncService=function() {
AsyncService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AsyncService.prototype={
GetRefinements:function(sSQL,succeededCallback, failedCallback, userContext) {
return this._invoke(AsyncService.get_path(), 'GetRefinements',false,{sSQL:sSQL},succeededCallback,failedCallback,userContext); },
GetLinks:function(sBibNo,succeededCallback, failedCallback, userContext) {
return this._invoke(AsyncService.get_path(), 'GetLinks',false,{sBibNo:sBibNo},succeededCallback,failedCallback,userContext); }}
AsyncService.registerClass('AsyncService',Sys.Net.WebServiceProxy);
AsyncService._staticInstance = new AsyncService();
AsyncService.set_path = function(value) { AsyncService._staticInstance._path = value; }
AsyncService.get_path = function() { return AsyncService._staticInstance._path; }
AsyncService.set_timeout = function(value) { AsyncService._staticInstance._timeout = value; }
AsyncService.get_timeout = function() { return AsyncService._staticInstance._timeout; }
AsyncService.set_defaultUserContext = function(value) { AsyncService._staticInstance._userContext = value; }
AsyncService.get_defaultUserContext = function() { return AsyncService._staticInstance._userContext; }
AsyncService.set_defaultSucceededCallback = function(value) { AsyncService._staticInstance._succeeded = value; }
AsyncService.get_defaultSucceededCallback = function() { return AsyncService._staticInstance._succeeded; }
AsyncService.set_defaultFailedCallback = function(value) { AsyncService._staticInstance._failed = value; }
AsyncService.get_defaultFailedCallback = function() { return AsyncService._staticInstance._failed; }
AsyncService.set_path("/opac/Services/AsyncService.asmx");
AsyncService.GetRefinements= function(sSQL,onSuccess,onFailed,userContext) {AsyncService._staticInstance.GetRefinements(sSQL,onSuccess,onFailed,userContext); }
AsyncService.GetLinks= function(sBibNo,onSuccess,onFailed,userContext) {AsyncService._staticInstance.GetLinks(sBibNo,onSuccess,onFailed,userContext); }
