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