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={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wineCHATr.WebServices.PostVoting._staticInstance.get_path();},
VoteForPost:function(_postid,_voter_username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._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.set_path(value); }
wineCHATr.WebServices.PostVoting.get_path = function() { return wineCHATr.WebServices.PostVoting._staticInstance.get_path(); }
wineCHATr.WebServices.PostVoting.set_timeout = function(value) { wineCHATr.WebServices.PostVoting._staticInstance.set_timeout(value); }
wineCHATr.WebServices.PostVoting.get_timeout = function() { return wineCHATr.WebServices.PostVoting._staticInstance.get_timeout(); }
wineCHATr.WebServices.PostVoting.set_defaultUserContext = function(value) { wineCHATr.WebServices.PostVoting._staticInstance.set_defaultUserContext(value); }
wineCHATr.WebServices.PostVoting.get_defaultUserContext = function() { return wineCHATr.WebServices.PostVoting._staticInstance.get_defaultUserContext(); }
wineCHATr.WebServices.PostVoting.set_defaultSucceededCallback = function(value) { wineCHATr.WebServices.PostVoting._staticInstance.set_defaultSucceededCallback(value); }
wineCHATr.WebServices.PostVoting.get_defaultSucceededCallback = function() { return wineCHATr.WebServices.PostVoting._staticInstance.get_defaultSucceededCallback(); }
wineCHATr.WebServices.PostVoting.set_defaultFailedCallback = function(value) { wineCHATr.WebServices.PostVoting._staticInstance.set_defaultFailedCallback(value); }
wineCHATr.WebServices.PostVoting.get_defaultFailedCallback = function() { return wineCHATr.WebServices.PostVoting._staticInstance.get_defaultFailedCallback(); }
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); }
