var ServeiLyricWiki=function() {
ServeiLyricWiki.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ServeiLyricWiki.prototype={
retornaLyric:function(artista,titol,succeededCallback, failedCallback, userContext) {
return this._invoke(ServeiLyricWiki.get_path(), 'retornaLyric',false,{artista:artista,titol:titol},succeededCallback,failedCallback,userContext); }}
ServeiLyricWiki.registerClass('ServeiLyricWiki',Sys.Net.WebServiceProxy);
ServeiLyricWiki._staticInstance = new ServeiLyricWiki();
ServeiLyricWiki.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ServeiLyricWiki._staticInstance._path = value; }
ServeiLyricWiki.get_path = function() { return ServeiLyricWiki._staticInstance._path; }
ServeiLyricWiki.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ServeiLyricWiki._staticInstance._timeout = value; }
ServeiLyricWiki.get_timeout = function() { 
return ServeiLyricWiki._staticInstance._timeout; }
ServeiLyricWiki.set_defaultUserContext = function(value) { 
ServeiLyricWiki._staticInstance._userContext = value; }
ServeiLyricWiki.get_defaultUserContext = function() { 
return ServeiLyricWiki._staticInstance._userContext; }
ServeiLyricWiki.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ServeiLyricWiki._staticInstance._succeeded = value; }
ServeiLyricWiki.get_defaultSucceededCallback = function() { 
return ServeiLyricWiki._staticInstance._succeeded; }
ServeiLyricWiki.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ServeiLyricWiki._staticInstance._failed = value; }
ServeiLyricWiki.get_defaultFailedCallback = function() { 
return ServeiLyricWiki._staticInstance._failed; }
ServeiLyricWiki.set_path("/ServeiLyricWiki.asmx");
ServeiLyricWiki.retornaLyric= function(artista,titol,onSuccess,onFailed,userContext) {ServeiLyricWiki._staticInstance.retornaLyric(artista,titol,onSuccess,onFailed,userContext); }
