var CommentsService=function() {
CommentsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommentsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CommentsService._staticInstance.get_path();},
GetComments:function(strVideoID,pageNumber,videoTypeCode,videoAuthor,isLoggedIn,succeededCallback, failedCallback, userContext) {
/// <param name="strVideoID" type="String">System.String</param>
/// <param name="pageNumber" type="Number">System.Int32</param>
/// <param name="videoTypeCode" type="String">System.String</param>
/// <param name="videoAuthor" type="String">System.String</param>
/// <param name="isLoggedIn" type="Boolean">System.Boolean</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(), 'GetComments',false,{strVideoID:strVideoID,pageNumber:pageNumber,videoTypeCode:videoTypeCode,videoAuthor:videoAuthor,isLoggedIn:isLoggedIn},succeededCallback,failedCallback,userContext); }}
CommentsService.registerClass('CommentsService',Sys.Net.WebServiceProxy);
CommentsService._staticInstance = new CommentsService();
CommentsService.set_path = function(value) {
CommentsService._staticInstance.set_path(value); }
CommentsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CommentsService._staticInstance.get_path();}
CommentsService.set_timeout = function(value) {
CommentsService._staticInstance.set_timeout(value); }
CommentsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CommentsService._staticInstance.get_timeout(); }
CommentsService.set_defaultUserContext = function(value) { 
CommentsService._staticInstance.set_defaultUserContext(value); }
CommentsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CommentsService._staticInstance.get_defaultUserContext(); }
CommentsService.set_defaultSucceededCallback = function(value) { 
 CommentsService._staticInstance.set_defaultSucceededCallback(value); }
CommentsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CommentsService._staticInstance.get_defaultSucceededCallback(); }
CommentsService.set_defaultFailedCallback = function(value) { 
CommentsService._staticInstance.set_defaultFailedCallback(value); }
CommentsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CommentsService._staticInstance.get_defaultFailedCallback(); }
CommentsService.set_path("/WebServices/CommentsService.asmx");
CommentsService.GetComments= function(strVideoID,pageNumber,videoTypeCode,videoAuthor,isLoggedIn,onSuccess,onFailed,userContext) {
/// <param name="strVideoID" type="String">System.String</param>
/// <param name="pageNumber" type="Number">System.Int32</param>
/// <param name="videoTypeCode" type="String">System.String</param>
/// <param name="videoAuthor" type="String">System.String</param>
/// <param name="isLoggedIn" type="Boolean">System.Boolean</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>
CommentsService._staticInstance.GetComments(strVideoID,pageNumber,videoTypeCode,videoAuthor,isLoggedIn,onSuccess,onFailed,userContext); }

