var WCFProfile=function() {
WCFProfile.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WCFProfile.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WCFProfile._staticInstance.get_path();},
DoWork:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoWork',false,{},succeededCallback,failedCallback,userContext); },
JSON_insertBlogComment:function(blogLoginName,blogRef,frLoginName,frName,frEmail,comment,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_insertBlogComment',false,{blogLoginName:blogLoginName,blogRef:blogRef,frLoginName:frLoginName,frName:frName,frEmail:frEmail,comment:comment},succeededCallback,failedCallback,userContext); },
JSON_getBlogCommentListPaging:function(blogLoginName,blogRef,status,page,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getBlogCommentListPaging',false,{blogLoginName:blogLoginName,blogRef:blogRef,status:status,page:page},succeededCallback,failedCallback,userContext); },
JSON_updateBlogCommentStatus:function(loginName,blogRef,commentRef,status,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_updateBlogCommentStatus',false,{loginName:loginName,blogRef:blogRef,commentRef:commentRef,status:status},succeededCallback,failedCallback,userContext); }}
WCFProfile.registerClass('WCFProfile',Sys.Net.WebServiceProxy);
WCFProfile._staticInstance = new WCFProfile();
WCFProfile.set_path = function(value) { WCFProfile._staticInstance.set_path(value); }
WCFProfile.get_path = function() { return WCFProfile._staticInstance.get_path(); }
WCFProfile.set_timeout = function(value) { WCFProfile._staticInstance.set_timeout(value); }
WCFProfile.get_timeout = function() { return WCFProfile._staticInstance.get_timeout(); }
WCFProfile.set_defaultUserContext = function(value) { WCFProfile._staticInstance.set_defaultUserContext(value); }
WCFProfile.get_defaultUserContext = function() { return WCFProfile._staticInstance.get_defaultUserContext(); }
WCFProfile.set_defaultSucceededCallback = function(value) { WCFProfile._staticInstance.set_defaultSucceededCallback(value); }
WCFProfile.get_defaultSucceededCallback = function() { return WCFProfile._staticInstance.get_defaultSucceededCallback(); }
WCFProfile.set_defaultFailedCallback = function(value) { WCFProfile._staticInstance.set_defaultFailedCallback(value); }
WCFProfile.get_defaultFailedCallback = function() { return WCFProfile._staticInstance.get_defaultFailedCallback(); }
WCFProfile.set_path("/WCF/WCFProfile.svc");
WCFProfile.DoWork= function(onSuccess,onFailed,userContext) {WCFProfile._staticInstance.DoWork(onSuccess,onFailed,userContext); }
WCFProfile.JSON_insertBlogComment= function(blogLoginName,blogRef,frLoginName,frName,frEmail,comment,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_insertBlogComment(blogLoginName,blogRef,frLoginName,frName,frEmail,comment,onSuccess,onFailed,userContext); }
WCFProfile.JSON_getBlogCommentListPaging= function(blogLoginName,blogRef,status,page,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_getBlogCommentListPaging(blogLoginName,blogRef,status,page,onSuccess,onFailed,userContext); }
WCFProfile.JSON_updateBlogCommentStatus= function(loginName,blogRef,commentRef,status,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_updateBlogCommentStatus(loginName,blogRef,commentRef,status,onSuccess,onFailed,userContext); }
