var MasterService=function() {
MasterService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MasterService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MasterService._staticInstance.get_path();},
GetSubSitemapDataSource:function(path,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSubSitemapDataSource',false,{path:path},succeededCallback,failedCallback,userContext); },
GetScrapnewsListByFolder:function(folderNo,CustNo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetScrapnewsListByFolder',false,{folderNo:folderNo,CustNo:CustNo},succeededCallback,failedCallback,userContext); },
GetNewsCategoryList:function(pcategoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsCategoryList',false,{pcategoryID:pcategoryID},succeededCallback,failedCallback,userContext); }}
MasterService.registerClass('MasterService',Sys.Net.WebServiceProxy);
MasterService._staticInstance = new MasterService();
MasterService.set_path = function(value) { MasterService._staticInstance.set_path(value); }
MasterService.get_path = function() { return MasterService._staticInstance.get_path(); }
MasterService.set_timeout = function(value) { MasterService._staticInstance.set_timeout(value); }
MasterService.get_timeout = function() { return MasterService._staticInstance.get_timeout(); }
MasterService.set_defaultUserContext = function(value) { MasterService._staticInstance.set_defaultUserContext(value); }
MasterService.get_defaultUserContext = function() { return MasterService._staticInstance.get_defaultUserContext(); }
MasterService.set_defaultSucceededCallback = function(value) { MasterService._staticInstance.set_defaultSucceededCallback(value); }
MasterService.get_defaultSucceededCallback = function() { return MasterService._staticInstance.get_defaultSucceededCallback(); }
MasterService.set_defaultFailedCallback = function(value) { MasterService._staticInstance.set_defaultFailedCallback(value); }
MasterService.get_defaultFailedCallback = function() { return MasterService._staticInstance.get_defaultFailedCallback(); }
MasterService.set_path("/paoweb/MasterService.asmx");
MasterService.GetSubSitemapDataSource= function(path,onSuccess,onFailed,userContext) {MasterService._staticInstance.GetSubSitemapDataSource(path,onSuccess,onFailed,userContext); }
MasterService.GetScrapnewsListByFolder= function(folderNo,CustNo,onSuccess,onFailed,userContext) {MasterService._staticInstance.GetScrapnewsListByFolder(folderNo,CustNo,onSuccess,onFailed,userContext); }
MasterService.GetNewsCategoryList= function(pcategoryID,onSuccess,onFailed,userContext) {MasterService._staticInstance.GetNewsCategoryList(pcategoryID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Paoin.Base');
if (typeof(Paoin.Base.SitemapItemInfo) === 'undefined') {
Paoin.Base.SitemapItemInfo=gtc("Paoin.Base.SitemapItemInfo");
Paoin.Base.SitemapItemInfo.registerClass('Paoin.Base.SitemapItemInfo');
}
if (typeof(Paoin.Base.PaperArticle) === 'undefined') {
Paoin.Base.PaperArticle=gtc("Paoin.Base.PaperArticle");
Paoin.Base.PaperArticle.registerClass('Paoin.Base.PaperArticle');
}
Type.registerNamespace('com.eyescrap.soap');
if (typeof(com.eyescrap.soap.Category) === 'undefined') {
com.eyescrap.soap.Category=gtc("com.eyescrap.soap.Category");
com.eyescrap.soap.Category.registerClass('com.eyescrap.soap.Category');
}
