var CommentWebService=function() {
CommentWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommentWebService.prototype={
AddComment:function(objectID,type,content,userName,password,verifyCode,succeededCallback, failedCallback, userContext) {
return this._invoke(CommentWebService.get_path(), 'AddComment',false,{objectID:objectID,type:type,content:content,userName:userName,password:password,verifyCode:verifyCode},succeededCallback,failedCallback,userContext); },
DeleteByIds:function(ids,succeededCallback, failedCallback, userContext) {
return this._invoke(CommentWebService.get_path(), 'DeleteByIds',false,{ids:ids},succeededCallback,failedCallback,userContext); }}
CommentWebService.registerClass('CommentWebService',Sys.Net.WebServiceProxy);
CommentWebService._staticInstance = new CommentWebService();
CommentWebService.set_path = function(value) { CommentWebService._staticInstance._path = value; }
CommentWebService.get_path = function() { return CommentWebService._staticInstance._path; }
CommentWebService.set_timeout = function(value) { CommentWebService._staticInstance._timeout = value; }
CommentWebService.get_timeout = function() { return CommentWebService._staticInstance._timeout; }
CommentWebService.set_defaultUserContext = function(value) { CommentWebService._staticInstance._userContext = value; }
CommentWebService.get_defaultUserContext = function() { return CommentWebService._staticInstance._userContext; }
CommentWebService.set_defaultSucceededCallback = function(value) { CommentWebService._staticInstance._succeeded = value; }
CommentWebService.get_defaultSucceededCallback = function() { return CommentWebService._staticInstance._succeeded; }
CommentWebService.set_defaultFailedCallback = function(value) { CommentWebService._staticInstance._failed = value; }
CommentWebService.get_defaultFailedCallback = function() { return CommentWebService._staticInstance._failed; }
CommentWebService.set_path("/WebServices/CommentWebService.asmx");
CommentWebService.AddComment= function(objectID,type,content,userName,password,verifyCode,onSuccess,onFailed,userContext) {CommentWebService._staticInstance.AddComment(objectID,type,content,userName,password,verifyCode,onSuccess,onFailed,userContext); }
CommentWebService.DeleteByIds= function(ids,onSuccess,onFailed,userContext) {CommentWebService._staticInstance.DeleteByIds(ids,onSuccess,onFailed,userContext); }

