Type.registerNamespace('SunlightTruth');
SunlightTruth.SunlightTruthSiteService=function() {
SunlightTruth.SunlightTruthSiteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SunlightTruth.SunlightTruthSiteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SunlightTruth.SunlightTruthSiteService._staticInstance.get_path();},
GetArticle:function(ID,succeededCallback, failedCallback, userContext) {
/// <param name="ID" 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(), 'GetArticle',false,{ID:ID},succeededCallback,failedCallback,userContext); },
isAvailableSEO_URL:function(SEO_URL,succeededCallback, failedCallback, userContext) {
/// <param name="SEO_URL" type="String">System.String</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(), 'isAvailableSEO_URL',false,{SEO_URL:SEO_URL},succeededCallback,failedCallback,userContext); }}
SunlightTruth.SunlightTruthSiteService.registerClass('SunlightTruth.SunlightTruthSiteService',Sys.Net.WebServiceProxy);
SunlightTruth.SunlightTruthSiteService._staticInstance = new SunlightTruth.SunlightTruthSiteService();
SunlightTruth.SunlightTruthSiteService.set_path = function(value) {
SunlightTruth.SunlightTruthSiteService._staticInstance.set_path(value); }
SunlightTruth.SunlightTruthSiteService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return SunlightTruth.SunlightTruthSiteService._staticInstance.get_path();}
SunlightTruth.SunlightTruthSiteService.set_timeout = function(value) {
SunlightTruth.SunlightTruthSiteService._staticInstance.set_timeout(value); }
SunlightTruth.SunlightTruthSiteService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return SunlightTruth.SunlightTruthSiteService._staticInstance.get_timeout(); }
SunlightTruth.SunlightTruthSiteService.set_defaultUserContext = function(value) { 
SunlightTruth.SunlightTruthSiteService._staticInstance.set_defaultUserContext(value); }
SunlightTruth.SunlightTruthSiteService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return SunlightTruth.SunlightTruthSiteService._staticInstance.get_defaultUserContext(); }
SunlightTruth.SunlightTruthSiteService.set_defaultSucceededCallback = function(value) { 
 SunlightTruth.SunlightTruthSiteService._staticInstance.set_defaultSucceededCallback(value); }
SunlightTruth.SunlightTruthSiteService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return SunlightTruth.SunlightTruthSiteService._staticInstance.get_defaultSucceededCallback(); }
SunlightTruth.SunlightTruthSiteService.set_defaultFailedCallback = function(value) { 
SunlightTruth.SunlightTruthSiteService._staticInstance.set_defaultFailedCallback(value); }
SunlightTruth.SunlightTruthSiteService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return SunlightTruth.SunlightTruthSiteService._staticInstance.get_defaultFailedCallback(); }
SunlightTruth.SunlightTruthSiteService.set_path("/slt/Services/SunlightTruthSiteService.asmx");
SunlightTruth.SunlightTruthSiteService.GetArticle= function(ID,onSuccess,onFailed,userContext) {
/// <param name="ID" 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>
SunlightTruth.SunlightTruthSiteService._staticInstance.GetArticle(ID,onSuccess,onFailed,userContext); }
SunlightTruth.SunlightTruthSiteService.isAvailableSEO_URL= function(SEO_URL,onSuccess,onFailed,userContext) {
/// <param name="SEO_URL" type="String">System.String</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>
SunlightTruth.SunlightTruthSiteService._staticInstance.isAvailableSEO_URL(SEO_URL,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DataTransferObjects');
if (typeof(DataTransferObjects.Article) === 'undefined') {
DataTransferObjects.Article=gtc("DataTransferObjects.Article");
DataTransferObjects.Article.registerClass('DataTransferObjects.Article');
}
