var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
AddYGClickCount:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'AddYGClickCount',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
GetKeywordsWithInput:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetKeywordsWithInput',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetBrandWithInput:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetBrandWithInput',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
InsertIntoDiscussList:function(username,discusscontent,topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'InsertIntoDiscussList',false,{username:username,discusscontent:discusscontent,topicid:topicid},succeededCallback,failedCallback,userContext); },
DeleteDiscuss:function(DiscussID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'DeleteDiscuss',false,{DiscussID:DiscussID},succeededCallback,failedCallback,userContext); },
GivePoint:function(username,topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GivePoint',false,{username:username,topicid:topicid},succeededCallback,failedCallback,userContext); },
MakeFriend:function(username,hostname,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'MakeFriend',false,{username:username,hostname:hostname},succeededCallback,failedCallback,userContext); },
Report:function(username,email,topicid,content,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'Report',false,{username:username,email:email,topicid:topicid,content:content},succeededCallback,failedCallback,userContext); },
GenerateVerifyImage:function(nLen,strKey,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GenerateVerifyImage',false,{nLen:nLen,strKey:strKey},succeededCallback,failedCallback,userContext); },
AddClickCount:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'AddClickCount',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
sendMessage:function(name,content,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'sendMessage',false,{name:name,content:content},succeededCallback,failedCallback,userContext); },
isFriend:function(username,friendname,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'isFriend',false,{username:username,friendname:friendname},succeededCallback,failedCallback,userContext); },
ReturnDiscussSplit:function(topicid,no,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReturnDiscussSplit',false,{topicid:topicid,no:no},succeededCallback,failedCallback,userContext); },
ReutrnBlogDetail:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReutrnBlogDetail',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
ReturnDaPeiDetail:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReturnDaPeiDetail',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
ReturnSeriesDetail:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReturnSeriesDetail',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
ReturnDanPinDetail:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReturnDanPinDetail',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
ReturnAbout:function(topicid,type,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReturnAbout',false,{topicid:topicid,type:type},succeededCallback,failedCallback,userContext); },
returnpage:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'returnpage',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
returnPoint:function(topicid,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'returnPoint',false,{topicid:topicid},succeededCallback,failedCallback,userContext); },
returnHostThink:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'returnHostThink',false,{username:username},succeededCallback,failedCallback,userContext); },
returnHostTag:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'returnHostTag',false,{username:username},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebService._staticInstance._path = value; }
WebService.get_path = function() { return WebService._staticInstance._path; }
WebService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WebService._staticInstance._timeout = value; }
WebService.get_timeout = function() { 
return WebService._staticInstance._timeout; }
WebService.set_defaultUserContext = function(value) { 
WebService._staticInstance._userContext = value; }
WebService.get_defaultUserContext = function() { 
return WebService._staticInstance._userContext; }
WebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebService._staticInstance._succeeded = value; }
WebService.get_defaultSucceededCallback = function() { 
return WebService._staticInstance._succeeded; }
WebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebService._staticInstance._failed = value; }
WebService.get_defaultFailedCallback = function() { 
return WebService._staticInstance._failed; }
WebService.set_path("/webservice.asmx");
WebService.AddYGClickCount= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.AddYGClickCount(topicid,onSuccess,onFailed,userContext); }
WebService.GetKeywordsWithInput= function(prefixText,onSuccess,onFailed,userContext) {WebService._staticInstance.GetKeywordsWithInput(prefixText,onSuccess,onFailed,userContext); }
WebService.GetBrandWithInput= function(prefixText,onSuccess,onFailed,userContext) {WebService._staticInstance.GetBrandWithInput(prefixText,onSuccess,onFailed,userContext); }
WebService.InsertIntoDiscussList= function(username,discusscontent,topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.InsertIntoDiscussList(username,discusscontent,topicid,onSuccess,onFailed,userContext); }
WebService.DeleteDiscuss= function(DiscussID,onSuccess,onFailed,userContext) {WebService._staticInstance.DeleteDiscuss(DiscussID,onSuccess,onFailed,userContext); }
WebService.GivePoint= function(username,topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.GivePoint(username,topicid,onSuccess,onFailed,userContext); }
WebService.MakeFriend= function(username,hostname,onSuccess,onFailed,userContext) {WebService._staticInstance.MakeFriend(username,hostname,onSuccess,onFailed,userContext); }
WebService.Report= function(username,email,topicid,content,onSuccess,onFailed,userContext) {WebService._staticInstance.Report(username,email,topicid,content,onSuccess,onFailed,userContext); }
WebService.GenerateVerifyImage= function(nLen,strKey,onSuccess,onFailed,userContext) {WebService._staticInstance.GenerateVerifyImage(nLen,strKey,onSuccess,onFailed,userContext); }
WebService.AddClickCount= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.AddClickCount(topicid,onSuccess,onFailed,userContext); }
WebService.sendMessage= function(name,content,onSuccess,onFailed,userContext) {WebService._staticInstance.sendMessage(name,content,onSuccess,onFailed,userContext); }
WebService.isFriend= function(username,friendname,onSuccess,onFailed,userContext) {WebService._staticInstance.isFriend(username,friendname,onSuccess,onFailed,userContext); }
WebService.ReturnDiscussSplit= function(topicid,no,onSuccess,onFailed,userContext) {WebService._staticInstance.ReturnDiscussSplit(topicid,no,onSuccess,onFailed,userContext); }
WebService.ReutrnBlogDetail= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.ReutrnBlogDetail(topicid,onSuccess,onFailed,userContext); }
WebService.ReturnDaPeiDetail= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.ReturnDaPeiDetail(topicid,onSuccess,onFailed,userContext); }
WebService.ReturnSeriesDetail= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.ReturnSeriesDetail(topicid,onSuccess,onFailed,userContext); }
WebService.ReturnDanPinDetail= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.ReturnDanPinDetail(topicid,onSuccess,onFailed,userContext); }
WebService.ReturnAbout= function(topicid,type,onSuccess,onFailed,userContext) {WebService._staticInstance.ReturnAbout(topicid,type,onSuccess,onFailed,userContext); }
WebService.returnpage= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.returnpage(topicid,onSuccess,onFailed,userContext); }
WebService.returnPoint= function(topicid,onSuccess,onFailed,userContext) {WebService._staticInstance.returnPoint(topicid,onSuccess,onFailed,userContext); }
WebService.returnHostThink= function(username,onSuccess,onFailed,userContext) {WebService._staticInstance.returnHostThink(username,onSuccess,onFailed,userContext); }
WebService.returnHostTag= function(username,onSuccess,onFailed,userContext) {WebService._staticInstance.returnHostTag(username,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
