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