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();},
JSON_UpdatePassword:function(passLama,passBaru,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_UpdatePassword',false,{passLama:passLama,passBaru:passBaru},succeededCallback,failedCallback,userContext); },
JSON_cekScreenName:function(newID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_cekScreenName',false,{newID:newID},succeededCallback,failedCallback,userContext); },
JSON_getLocationCountry:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getLocationCountry',false,{},succeededCallback,failedCallback,userContext); },
JSON_getLocationProvince:function(countryCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getLocationProvince',false,{countryCode:countryCode},succeededCallback,failedCallback,userContext); },
JSON_getLocationCity:function(countryCode,provinceCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getLocationCity',false,{countryCode:countryCode,provinceCode:provinceCode},succeededCallback,failedCallback,userContext); },
JSON_getMemberUmum:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getMemberUmum',false,{},succeededCallback,failedCallback,userContext); },
JSON_updateProfileBasic:function(json,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_updateProfileBasic',false,{json:json},succeededCallback,failedCallback,userContext); },
JSON_UpdateAboutMe:function(json,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_UpdateAboutMe',false,{json:json},succeededCallback,failedCallback,userContext); },
JSON_LoadAboutMe:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_LoadAboutMe',false,{},succeededCallback,failedCallback,userContext); },
JSON_cekImageExists:function(type,imgId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_cekImageExists',false,{type:type,imgId:imgId},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); },
JSON_getVote:function(entityCode,profileLoginName,loginName,voteCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getVote',false,{entityCode:entityCode,profileLoginName:profileLoginName,loginName:loginName,voteCode:voteCode},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("/sysServices/member/profile/WCFProfile.svc");
WCFProfile.JSON_UpdatePassword= function(passLama,passBaru,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_UpdatePassword(passLama,passBaru,onSuccess,onFailed,userContext); }
WCFProfile.JSON_cekScreenName= function(newID,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_cekScreenName(newID,onSuccess,onFailed,userContext); }
WCFProfile.JSON_getLocationCountry= function(onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_getLocationCountry(onSuccess,onFailed,userContext); }
WCFProfile.JSON_getLocationProvince= function(countryCode,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_getLocationProvince(countryCode,onSuccess,onFailed,userContext); }
WCFProfile.JSON_getLocationCity= function(countryCode,provinceCode,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_getLocationCity(countryCode,provinceCode,onSuccess,onFailed,userContext); }
WCFProfile.JSON_getMemberUmum= function(onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_getMemberUmum(onSuccess,onFailed,userContext); }
WCFProfile.JSON_updateProfileBasic= function(json,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_updateProfileBasic(json,onSuccess,onFailed,userContext); }
WCFProfile.JSON_UpdateAboutMe= function(json,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_UpdateAboutMe(json,onSuccess,onFailed,userContext); }
WCFProfile.JSON_LoadAboutMe= function(onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_LoadAboutMe(onSuccess,onFailed,userContext); }
WCFProfile.JSON_cekImageExists= function(type,imgId,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_cekImageExists(type,imgId,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); }
WCFProfile.JSON_getVote= function(entityCode,profileLoginName,loginName,voteCode,onSuccess,onFailed,userContext) {WCFProfile._staticInstance.JSON_getVote(entityCode,profileLoginName,loginName,voteCode,onSuccess,onFailed,userContext); }

