Type.registerNamespace('Clozone.Web.WebService'); Clozone.Web.WebService.Profile = { path: "/WebService/Profile.asmx", GetProfile:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetProfile",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetGroupProfile:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetGroupProfile",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, UpdateUserContactInfo:function(prefix,inputEmail,inputPostalCode,inputAddress,inputHomepage,contactVisibility,inputMobilePhone,inputTelephone,inputMSNEmail,inputQQNumber,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdateUserContactInfo",{prefix:prefix,inputEmail:inputEmail,inputPostalCode:inputPostalCode,inputAddress:inputAddress,inputHomepage:inputHomepage,contactVisibility:contactVisibility,inputMobilePhone:inputMobilePhone,inputTelephone:inputTelephone,inputMSNEmail:inputMSNEmail,inputQQNumber:inputQQNumber}, onMethodComplete, onMethodTimeout); }, UpdateUserBasicInfo:function(prefix,inputNickName,checkFriendValidate,gender,provinceID_Locus,selectCity_Locus,provinceID_Hometown,selectCity_Hometown,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdateUserBasicInfo",{prefix:prefix,inputNickName:inputNickName,checkFriendValidate:checkFriendValidate,gender:gender,provinceID_Locus:provinceID_Locus,selectCity_Locus:selectCity_Locus,provinceID_Hometown:provinceID_Hometown,selectCity_Hometown:selectCity_Hometown}, onMethodComplete, onMethodTimeout); }, UpdateUserOtherInfo:function(prefix,inputRealName,vocation,occupation,year,month,day,textareaSignature,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdateUserOtherInfo",{prefix:prefix,inputRealName:inputRealName,vocation:vocation,occupation:occupation,year:year,month:month,day:day,textareaSignature:textareaSignature}, onMethodComplete, onMethodTimeout); }, SetUserPortraitDefault:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "SetUserPortraitDefault",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, UpdateGroupInfo:function(prefix,groupName,groupCategory,groupTags,description,validate,canVisit,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdateGroupInfo",{prefix:prefix,groupName:groupName,groupCategory:groupCategory,groupTags:groupTags,description:description,validate:validate,canVisit:canVisit}, onMethodComplete, onMethodTimeout); }, SetGroupPortraitDefault:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "SetGroupPortraitDefault",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, UpdateGroupProfile:function(prefix,groupName,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdateGroupProfile",{prefix:prefix,groupName:groupName}, onMethodComplete, onMethodTimeout); }, GetCityByProvince:function(provinceID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetCityByProvince",{provinceID:provinceID}, onMethodComplete, onMethodTimeout); }, GetProvinces:function(onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetProvinces",{}, onMethodComplete, onMethodTimeout); }, ChangePassword:function(oldPassword,newPassword,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "ChangePassword",{oldPassword:oldPassword,newPassword:newPassword}, onMethodComplete, onMethodTimeout); } }