var PostCommentService=function() {
PostCommentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PostCommentService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PostCommentService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
PostComment:function(videoID,replyToCommentID,videoType,comment,sessionToken,succeededCallback, failedCallback, userContext) {
/// <param name="videoID" type="String">System.String</param>
/// <param name="replyToCommentID" type="String">System.String</param>
/// <param name="videoType" type="TotalVideos.Global.VideoType">TotalVideos.Global.VideoType</param>
/// <param name="comment" type="String">System.String</param>
/// <param name="sessionToken" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'PostComment',false,{videoID:videoID,replyToCommentID:replyToCommentID,videoType:videoType,comment:comment,sessionToken:sessionToken},succeededCallback,failedCallback,userContext); }}
PostCommentService.registerClass('PostCommentService',Sys.Net.WebServiceProxy);
PostCommentService._staticInstance = new PostCommentService();
PostCommentService.set_path = function(value) {
PostCommentService._staticInstance.set_path(value); }
PostCommentService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PostCommentService._staticInstance.get_path();}
PostCommentService.set_timeout = function(value) {
PostCommentService._staticInstance.set_timeout(value); }
PostCommentService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PostCommentService._staticInstance.get_timeout(); }
PostCommentService.set_defaultUserContext = function(value) { 
PostCommentService._staticInstance.set_defaultUserContext(value); }
PostCommentService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PostCommentService._staticInstance.get_defaultUserContext(); }
PostCommentService.set_defaultSucceededCallback = function(value) { 
 PostCommentService._staticInstance.set_defaultSucceededCallback(value); }
PostCommentService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PostCommentService._staticInstance.get_defaultSucceededCallback(); }
PostCommentService.set_defaultFailedCallback = function(value) { 
PostCommentService._staticInstance.set_defaultFailedCallback(value); }
PostCommentService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PostCommentService._staticInstance.get_defaultFailedCallback(); }
PostCommentService.set_path("/WebServices/PostCommentService.asmx");
PostCommentService.HelloWorld= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PostCommentService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
PostCommentService.PostComment= function(videoID,replyToCommentID,videoType,comment,sessionToken,onSuccess,onFailed,userContext) {
/// <param name="videoID" type="String">System.String</param>
/// <param name="replyToCommentID" type="String">System.String</param>
/// <param name="videoType" type="TotalVideos.Global.VideoType">TotalVideos.Global.VideoType</param>
/// <param name="comment" type="String">System.String</param>
/// <param name="sessionToken" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
PostCommentService._staticInstance.PostComment(videoID,replyToCommentID,videoType,comment,sessionToken,onSuccess,onFailed,userContext); }
Type.registerNamespace('TotalVideos.Global');
if (typeof(TotalVideos.Global.VideoType) === 'undefined') {
TotalVideos.Global.VideoType = function() { throw Error.invalidOperation(); }
TotalVideos.Global.VideoType.prototype = {YouTube: 0,Google: 1,MetaCafe: 2,Veoh: 3,MySpace: 4,Yahoo: 5,AOL: 6,none: 7}
TotalVideos.Global.VideoType.registerEnum('TotalVideos.Global.VideoType', true);
}

