Type.registerNamespace('www.thefilter.com.WebServices');
www.thefilter.com.WebServices.ItemRating=function() {
www.thefilter.com.WebServices.ItemRating.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
www.thefilter.com.WebServices.ItemRating.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return www.thefilter.com.WebServices.ItemRating._staticInstance.get_path();},
SayHello:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SayHello',false,{name:name},succeededCallback,failedCallback,userContext); },
RateItem:function(itemId,itemType,rating,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RateItem',false,{itemId:itemId,itemType:itemType,rating:rating,userId:userId},succeededCallback,failedCallback,userContext); }}
www.thefilter.com.WebServices.ItemRating.registerClass('www.thefilter.com.WebServices.ItemRating',Sys.Net.WebServiceProxy);
www.thefilter.com.WebServices.ItemRating._staticInstance = new www.thefilter.com.WebServices.ItemRating();
www.thefilter.com.WebServices.ItemRating.set_path = function(value) { www.thefilter.com.WebServices.ItemRating._staticInstance.set_path(value); }
www.thefilter.com.WebServices.ItemRating.get_path = function() { return www.thefilter.com.WebServices.ItemRating._staticInstance.get_path(); }
www.thefilter.com.WebServices.ItemRating.set_timeout = function(value) { www.thefilter.com.WebServices.ItemRating._staticInstance.set_timeout(value); }
www.thefilter.com.WebServices.ItemRating.get_timeout = function() { return www.thefilter.com.WebServices.ItemRating._staticInstance.get_timeout(); }
www.thefilter.com.WebServices.ItemRating.set_defaultUserContext = function(value) { www.thefilter.com.WebServices.ItemRating._staticInstance.set_defaultUserContext(value); }
www.thefilter.com.WebServices.ItemRating.get_defaultUserContext = function() { return www.thefilter.com.WebServices.ItemRating._staticInstance.get_defaultUserContext(); }
www.thefilter.com.WebServices.ItemRating.set_defaultSucceededCallback = function(value) { www.thefilter.com.WebServices.ItemRating._staticInstance.set_defaultSucceededCallback(value); }
www.thefilter.com.WebServices.ItemRating.get_defaultSucceededCallback = function() { return www.thefilter.com.WebServices.ItemRating._staticInstance.get_defaultSucceededCallback(); }
www.thefilter.com.WebServices.ItemRating.set_defaultFailedCallback = function(value) { www.thefilter.com.WebServices.ItemRating._staticInstance.set_defaultFailedCallback(value); }
www.thefilter.com.WebServices.ItemRating.get_defaultFailedCallback = function() { return www.thefilter.com.WebServices.ItemRating._staticInstance.get_defaultFailedCallback(); }
www.thefilter.com.WebServices.ItemRating.set_path("/App_WebServices/ItemRating.asmx");
www.thefilter.com.WebServices.ItemRating.SayHello= function(name,onSuccess,onFailed,userContext) {www.thefilter.com.WebServices.ItemRating._staticInstance.SayHello(name,onSuccess,onFailed,userContext); }
www.thefilter.com.WebServices.ItemRating.RateItem= function(itemId,itemType,rating,userId,onSuccess,onFailed,userContext) {www.thefilter.com.WebServices.ItemRating._staticInstance.RateItem(itemId,itemType,rating,userId,onSuccess,onFailed,userContext); }
