var newsService=function() {
newsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
newsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return newsService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
getNewsView:function(categoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getNewsView',false,{categoryId:categoryId},succeededCallback,failedCallback,userContext); }}
newsService.registerClass('newsService',Sys.Net.WebServiceProxy);
newsService._staticInstance = new newsService();
newsService.set_path = function(value) { newsService._staticInstance.set_path(value); }
newsService.get_path = function() { return newsService._staticInstance.get_path(); }
newsService.set_timeout = function(value) { newsService._staticInstance.set_timeout(value); }
newsService.get_timeout = function() { return newsService._staticInstance.get_timeout(); }
newsService.set_defaultUserContext = function(value) { newsService._staticInstance.set_defaultUserContext(value); }
newsService.get_defaultUserContext = function() { return newsService._staticInstance.get_defaultUserContext(); }
newsService.set_defaultSucceededCallback = function(value) { newsService._staticInstance.set_defaultSucceededCallback(value); }
newsService.get_defaultSucceededCallback = function() { return newsService._staticInstance.get_defaultSucceededCallback(); }
newsService.set_defaultFailedCallback = function(value) { newsService._staticInstance.set_defaultFailedCallback(value); }
newsService.get_defaultFailedCallback = function() { return newsService._staticInstance.get_defaultFailedCallback(); }
newsService.set_path("/services/newsService.asmx");
newsService.HelloWorld= function(onSuccess,onFailed,userContext) {newsService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
newsService.getNewsView= function(categoryId,onSuccess,onFailed,userContext) {newsService._staticInstance.getNewsView(categoryId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(News) === 'undefined') {
var News=gtc("News");
News.registerClass('News');
}

