Type.registerNamespace('WindowsSite.Services');
WindowsSite.Services.DataService=function() {
WindowsSite.Services.DataService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WindowsSite.Services.DataService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WindowsSite.Services.DataService._staticInstance.get_path();},
GetHeroHtmlSection:function(path,heroID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHeroHtmlSection',false,{path:path,heroID:heroID},succeededCallback,failedCallback,userContext); },
GetHtmlSection:function(path,sectionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHtmlSection',false,{path:path,sectionID:sectionID},succeededCallback,failedCallback,userContext); },
GetContentSection:function(filePath,sectionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContentSection',false,{filePath:filePath,sectionID:sectionID},succeededCallback,failedCallback,userContext); },
GetCustomContentSection:function(filePath,sectionID,transformFilePath,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCustomContentSection',false,{filePath:filePath,sectionID:sectionID,transformFilePath:transformFilePath},succeededCallback,failedCallback,userContext); }}
WindowsSite.Services.DataService.registerClass('WindowsSite.Services.DataService',Sys.Net.WebServiceProxy);
WindowsSite.Services.DataService._staticInstance = new WindowsSite.Services.DataService();
WindowsSite.Services.DataService.set_path = function(value) { WindowsSite.Services.DataService._staticInstance.set_path(value); }
WindowsSite.Services.DataService.get_path = function() { return WindowsSite.Services.DataService._staticInstance.get_path(); }
WindowsSite.Services.DataService.set_timeout = function(value) { WindowsSite.Services.DataService._staticInstance.set_timeout(value); }
WindowsSite.Services.DataService.get_timeout = function() { return WindowsSite.Services.DataService._staticInstance.get_timeout(); }
WindowsSite.Services.DataService.set_defaultUserContext = function(value) { WindowsSite.Services.DataService._staticInstance.set_defaultUserContext(value); }
WindowsSite.Services.DataService.get_defaultUserContext = function() { return WindowsSite.Services.DataService._staticInstance.get_defaultUserContext(); }
WindowsSite.Services.DataService.set_defaultSucceededCallback = function(value) { WindowsSite.Services.DataService._staticInstance.set_defaultSucceededCallback(value); }
WindowsSite.Services.DataService.get_defaultSucceededCallback = function() { return WindowsSite.Services.DataService._staticInstance.get_defaultSucceededCallback(); }
WindowsSite.Services.DataService.set_defaultFailedCallback = function(value) { WindowsSite.Services.DataService._staticInstance.set_defaultFailedCallback(value); }
WindowsSite.Services.DataService.get_defaultFailedCallback = function() { return WindowsSite.Services.DataService._staticInstance.get_defaultFailedCallback(); }
WindowsSite.Services.DataService.set_path("/poland/windows/Framework/Services/DataService.asmx");
WindowsSite.Services.DataService.GetHeroHtmlSection= function(path,heroID,onSuccess,onFailed,userContext) {WindowsSite.Services.DataService._staticInstance.GetHeroHtmlSection(path,heroID,onSuccess,onFailed,userContext); }
WindowsSite.Services.DataService.GetHtmlSection= function(path,sectionID,onSuccess,onFailed,userContext) {WindowsSite.Services.DataService._staticInstance.GetHtmlSection(path,sectionID,onSuccess,onFailed,userContext); }
WindowsSite.Services.DataService.GetContentSection= function(filePath,sectionID,onSuccess,onFailed,userContext) {WindowsSite.Services.DataService._staticInstance.GetContentSection(filePath,sectionID,onSuccess,onFailed,userContext); }
WindowsSite.Services.DataService.GetCustomContentSection= function(filePath,sectionID,transformFilePath,onSuccess,onFailed,userContext) {WindowsSite.Services.DataService._staticInstance.GetCustomContentSection(filePath,sectionID,transformFilePath,onSuccess,onFailed,userContext); }
