Type.registerNamespace('wineCHATr.WebServices');
wineCHATr.WebServices.PostVoting=function() {
wineCHATr.WebServices.PostVoting.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wineCHATr.WebServices.PostVoting.prototype={
VoteForPost:function(_postid,_voter_username,succeededCallback, failedCallback, userContext) {
return this._invoke(wineCHATr.WebServices.PostVoting.get_path(), 'VoteForPost',false,{_postid:_postid,_voter_username:_voter_username},succeededCallback,failedCallback,userContext); }}
wineCHATr.WebServices.PostVoting.registerClass('wineCHATr.WebServices.PostVoting',Sys.Net.WebServiceProxy);
wineCHATr.WebServices.PostVoting._staticInstance = new wineCHATr.WebServices.PostVoting();
wineCHATr.WebServices.PostVoting.set_path = function(value) { wineCHATr.WebServices.PostVoting._staticInstance._path = value; }
wineCHATr.WebServices.PostVoting.get_path = function() { return wineCHATr.WebServices.PostVoting._staticInstance._path; }
wineCHATr.WebServices.PostVoting.set_timeout = function(value) { wineCHATr.WebServices.PostVoting._staticInstance._timeout = value; }
wineCHATr.WebServices.PostVoting.get_timeout = function() { return wineCHATr.WebServices.PostVoting._staticInstance._timeout; }
wineCHATr.WebServices.PostVoting.set_defaultUserContext = function(value) { wineCHATr.WebServices.PostVoting._staticInstance._userContext = value; }
wineCHATr.WebServices.PostVoting.get_defaultUserContext = function() { return wineCHATr.WebServices.PostVoting._staticInstance._userContext; }
wineCHATr.WebServices.PostVoting.set_defaultSucceededCallback = function(value) { wineCHATr.WebServices.PostVoting._staticInstance._succeeded = value; }
wineCHATr.WebServices.PostVoting.get_defaultSucceededCallback = function() { return wineCHATr.WebServices.PostVoting._staticInstance._succeeded; }
wineCHATr.WebServices.PostVoting.set_defaultFailedCallback = function(value) { wineCHATr.WebServices.PostVoting._staticInstance._failed = value; }
wineCHATr.WebServices.PostVoting.get_defaultFailedCallback = function() { return wineCHATr.WebServices.PostVoting._staticInstance._failed; }
wineCHATr.WebServices.PostVoting.set_path("/WebServices/PostVoting.asmx");
wineCHATr.WebServices.PostVoting.VoteForPost= function(_postid,_voter_username,onSuccess,onFailed,userContext) {wineCHATr.WebServices.PostVoting._staticInstance.VoteForPost(_postid,_voter_username,onSuccess,onFailed,userContext); }
