Type.registerNamespace('PSP3HTMLContentViewer.Services');
PSP3HTMLContentViewer.Services.HTMLContentViewer=function() {
PSP3HTMLContentViewer.Services.HTMLContentViewer.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PSP3HTMLContentViewer.Services.HTMLContentViewer.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.get_path();},
GetHtmlContent:function(listUrl,wpId,cacheTimespan,succeededCallback, failedCallback, userContext) {
/// <param name="listUrl" type="String">System.String</param>
/// <param name="wpId" type="String">System.String</param>
/// <param name="cacheTimespan" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetHtmlContent',false,{listUrl:listUrl,wpId:wpId,cacheTimespan:cacheTimespan},succeededCallback,failedCallback,userContext); }}
PSP3HTMLContentViewer.Services.HTMLContentViewer.registerClass('PSP3HTMLContentViewer.Services.HTMLContentViewer',Sys.Net.WebServiceProxy);
PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance = new PSP3HTMLContentViewer.Services.HTMLContentViewer();
PSP3HTMLContentViewer.Services.HTMLContentViewer.set_path = function(value) {
PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.set_path(value); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.get_path();}
PSP3HTMLContentViewer.Services.HTMLContentViewer.set_timeout = function(value) {
PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.set_timeout(value); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.get_timeout(); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.set_defaultUserContext = function(value) { 
PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.set_defaultUserContext(value); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.get_defaultUserContext(); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.set_defaultSucceededCallback = function(value) { 
 PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.set_defaultSucceededCallback(value); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.get_defaultSucceededCallback(); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.set_defaultFailedCallback = function(value) { 
PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.set_defaultFailedCallback(value); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.get_defaultFailedCallback(); }
PSP3HTMLContentViewer.Services.HTMLContentViewer.set_path("/_layouts/MyGov/HTMLContentViewer.asmx");
PSP3HTMLContentViewer.Services.HTMLContentViewer.GetHtmlContent= function(listUrl,wpId,cacheTimespan,onSuccess,onFailed,userContext) {
/// <param name="listUrl" type="String">System.String</param>
/// <param name="wpId" type="String">System.String</param>
/// <param name="cacheTimespan" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PSP3HTMLContentViewer.Services.HTMLContentViewer._staticInstance.GetHtmlContent(listUrl,wpId,cacheTimespan,onSuccess,onFailed,userContext); }

