Type.registerNamespace('ImpCDs');
ImpCDs.webSvc_Lookup=function() {
ImpCDs.webSvc_Lookup.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ImpCDs.webSvc_Lookup.prototype={
GetArtist:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(ImpCDs.webSvc_Lookup.get_path(), 'GetArtist',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetTitle:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(ImpCDs.webSvc_Lookup.get_path(), 'GetTitle',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetArtistAndTitle:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(ImpCDs.webSvc_Lookup.get_path(), 'GetArtistAndTitle',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
ImpCDs.webSvc_Lookup.registerClass('ImpCDs.webSvc_Lookup',Sys.Net.WebServiceProxy);
ImpCDs.webSvc_Lookup._staticInstance = new ImpCDs.webSvc_Lookup();
ImpCDs.webSvc_Lookup.set_path = function(value) { ImpCDs.webSvc_Lookup._staticInstance._path = value; }
ImpCDs.webSvc_Lookup.get_path = function() { return ImpCDs.webSvc_Lookup._staticInstance._path; }
ImpCDs.webSvc_Lookup.set_timeout = function(value) { ImpCDs.webSvc_Lookup._staticInstance._timeout = value; }
ImpCDs.webSvc_Lookup.get_timeout = function() { return ImpCDs.webSvc_Lookup._staticInstance._timeout; }
ImpCDs.webSvc_Lookup.set_defaultUserContext = function(value) { ImpCDs.webSvc_Lookup._staticInstance._userContext = value; }
ImpCDs.webSvc_Lookup.get_defaultUserContext = function() { return ImpCDs.webSvc_Lookup._staticInstance._userContext; }
ImpCDs.webSvc_Lookup.set_defaultSucceededCallback = function(value) { ImpCDs.webSvc_Lookup._staticInstance._succeeded = value; }
ImpCDs.webSvc_Lookup.get_defaultSucceededCallback = function() { return ImpCDs.webSvc_Lookup._staticInstance._succeeded; }
ImpCDs.webSvc_Lookup.set_defaultFailedCallback = function(value) { ImpCDs.webSvc_Lookup._staticInstance._failed = value; }
ImpCDs.webSvc_Lookup.get_defaultFailedCallback = function() { return ImpCDs.webSvc_Lookup._staticInstance._failed; }
ImpCDs.webSvc_Lookup.set_path("/services/lookup.asmx");
ImpCDs.webSvc_Lookup.GetArtist= function(prefixText,count,onSuccess,onFailed,userContext) {ImpCDs.webSvc_Lookup._staticInstance.GetArtist(prefixText,count,onSuccess,onFailed,userContext); }
ImpCDs.webSvc_Lookup.GetTitle= function(prefixText,count,onSuccess,onFailed,userContext) {ImpCDs.webSvc_Lookup._staticInstance.GetTitle(prefixText,count,onSuccess,onFailed,userContext); }
ImpCDs.webSvc_Lookup.GetArtistAndTitle= function(prefixText,count,onSuccess,onFailed,userContext) {ImpCDs.webSvc_Lookup._staticInstance.GetArtistAndTitle(prefixText,count,onSuccess,onFailed,userContext); }
