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

