Type.registerNamespace('ryoushin.com');
ryoushin.com.blogjsonservice=function() {
ryoushin.com.blogjsonservice.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ryoushin.com.blogjsonservice.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ryoushin.com.blogjsonservice._staticInstance.get_path();},
GetArticleByLink:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleByLink',false,{url:url},succeededCallback,failedCallback,userContext); }}
ryoushin.com.blogjsonservice.registerClass('ryoushin.com.blogjsonservice',Sys.Net.WebServiceProxy);
ryoushin.com.blogjsonservice._staticInstance = new ryoushin.com.blogjsonservice();
ryoushin.com.blogjsonservice.set_path = function(value) { ryoushin.com.blogjsonservice._staticInstance.set_path(value); }
ryoushin.com.blogjsonservice.get_path = function() { return ryoushin.com.blogjsonservice._staticInstance.get_path(); }
ryoushin.com.blogjsonservice.set_timeout = function(value) { ryoushin.com.blogjsonservice._staticInstance.set_timeout(value); }
ryoushin.com.blogjsonservice.get_timeout = function() { return ryoushin.com.blogjsonservice._staticInstance.get_timeout(); }
ryoushin.com.blogjsonservice.set_defaultUserContext = function(value) { ryoushin.com.blogjsonservice._staticInstance.set_defaultUserContext(value); }
ryoushin.com.blogjsonservice.get_defaultUserContext = function() { return ryoushin.com.blogjsonservice._staticInstance.get_defaultUserContext(); }
ryoushin.com.blogjsonservice.set_defaultSucceededCallback = function(value) { ryoushin.com.blogjsonservice._staticInstance.set_defaultSucceededCallback(value); }
ryoushin.com.blogjsonservice.get_defaultSucceededCallback = function() { return ryoushin.com.blogjsonservice._staticInstance.get_defaultSucceededCallback(); }
ryoushin.com.blogjsonservice.set_defaultFailedCallback = function(value) { ryoushin.com.blogjsonservice._staticInstance.set_defaultFailedCallback(value); }
ryoushin.com.blogjsonservice.get_defaultFailedCallback = function() { return ryoushin.com.blogjsonservice._staticInstance.get_defaultFailedCallback(); }
ryoushin.com.blogjsonservice.set_path("/services/BlogJsonService.svc");
ryoushin.com.blogjsonservice.GetArticleByLink= function(url,onSuccess,onFailed,userContext) {ryoushin.com.blogjsonservice._staticInstance.GetArticleByLink(url,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Article) === 'undefined') {
var Article=gtc("Article:http://schemas.datacontract.org/2004/07/");
Article.registerClass('Article');
}
