var ContentWebService=function() {
ContentWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentWebService.prototype={
Publish:function(pContent,pContentPage,pContentKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentWebService.get_path(), 'Publish',false,{pContent:pContent,pContentPage:pContentPage,pContentKey:pContentKey},succeededCallback,failedCallback,userContext); },
GetContent:function(pContentPage,pContentKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentWebService.get_path(), 'GetContent',false,{pContentPage:pContentPage,pContentKey:pContentKey},succeededCallback,failedCallback,userContext); },
GetContents:function(pContentPage,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentWebService.get_path(), 'GetContents',false,{pContentPage:pContentPage},succeededCallback,failedCallback,userContext); }}
ContentWebService.registerClass('ContentWebService',Sys.Net.WebServiceProxy);
ContentWebService._staticInstance = new ContentWebService();
ContentWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ContentWebService._staticInstance._path = value; }
ContentWebService.get_path = function() { return ContentWebService._staticInstance._path; }
ContentWebService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ContentWebService._staticInstance._timeout = value; }
ContentWebService.get_timeout = function() { 
return ContentWebService._staticInstance._timeout; }
ContentWebService.set_defaultUserContext = function(value) { 
ContentWebService._staticInstance._userContext = value; }
ContentWebService.get_defaultUserContext = function() { 
return ContentWebService._staticInstance._userContext; }
ContentWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ContentWebService._staticInstance._succeeded = value; }
ContentWebService.get_defaultSucceededCallback = function() { 
return ContentWebService._staticInstance._succeeded; }
ContentWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ContentWebService._staticInstance._failed = value; }
ContentWebService.get_defaultFailedCallback = function() { 
return ContentWebService._staticInstance._failed; }
ContentWebService.set_path("/ContentWebService.asmx");
ContentWebService.Publish= function(pContent,pContentPage,pContentKey,onSuccess,onFailed,userContext) {ContentWebService._staticInstance.Publish(pContent,pContentPage,pContentKey,onSuccess,onFailed,userContext); }
ContentWebService.GetContent= function(pContentPage,pContentKey,onSuccess,onFailed,userContext) {ContentWebService._staticInstance.GetContent(pContentPage,pContentKey,onSuccess,onFailed,userContext); }
ContentWebService.GetContents= function(pContentPage,onSuccess,onFailed,userContext) {ContentWebService._staticInstance.GetContents(pContentPage,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
