Type.registerNamespace('Services');
Services.CommentSvc=function() {
Services.CommentSvc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Services.CommentSvc.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Services.CommentSvc._staticInstance.get_path();},
GetComments:function(articleID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetComments',false,{articleID:articleID},succeededCallback,failedCallback,userContext); },
GetArticle:function(articleID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticle',false,{articleID:articleID},succeededCallback,failedCallback,userContext); },
SubmitComment:function(articleID,comment,author,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubmitComment',false,{articleID:articleID,comment:comment,author:author},succeededCallback,failedCallback,userContext); }}
Services.CommentSvc.registerClass('Services.CommentSvc',Sys.Net.WebServiceProxy);
Services.CommentSvc._staticInstance = new Services.CommentSvc();
Services.CommentSvc.set_path = function(value) { Services.CommentSvc._staticInstance.set_path(value); }
Services.CommentSvc.get_path = function() { return Services.CommentSvc._staticInstance.get_path(); }
Services.CommentSvc.set_timeout = function(value) { Services.CommentSvc._staticInstance.set_timeout(value); }
Services.CommentSvc.get_timeout = function() { return Services.CommentSvc._staticInstance.get_timeout(); }
Services.CommentSvc.set_defaultUserContext = function(value) { Services.CommentSvc._staticInstance.set_defaultUserContext(value); }
Services.CommentSvc.get_defaultUserContext = function() { return Services.CommentSvc._staticInstance.get_defaultUserContext(); }
Services.CommentSvc.set_defaultSucceededCallback = function(value) { Services.CommentSvc._staticInstance.set_defaultSucceededCallback(value); }
Services.CommentSvc.get_defaultSucceededCallback = function() { return Services.CommentSvc._staticInstance.get_defaultSucceededCallback(); }
Services.CommentSvc.set_defaultFailedCallback = function(value) { Services.CommentSvc._staticInstance.set_defaultFailedCallback(value); }
Services.CommentSvc.get_defaultFailedCallback = function() { return Services.CommentSvc._staticInstance.get_defaultFailedCallback(); }
Services.CommentSvc.set_enableJsonp = function(value) { Services.CommentSvc._staticInstance.set_enableJsonp(value); }
Services.CommentSvc.get_enableJsonp = function() { return Services.CommentSvc._staticInstance.get_enableJsonp(); }
Services.CommentSvc.set_jsonpCallbackParameter = function(value) { Services.CommentSvc._staticInstance.set_jsonpCallbackParameter(value); }
Services.CommentSvc.get_jsonpCallbackParameter = function() { return Services.CommentSvc._staticInstance.get_jsonpCallbackParameter(); }
Services.CommentSvc.set_path("http://www.tylerjensen.info/CommentSvc.svc");
Services.CommentSvc.GetComments= function(articleID,onSuccess,onFailed,userContext) {Services.CommentSvc._staticInstance.GetComments(articleID,onSuccess,onFailed,userContext); }
Services.CommentSvc.GetArticle= function(articleID,onSuccess,onFailed,userContext) {Services.CommentSvc._staticInstance.GetArticle(articleID,onSuccess,onFailed,userContext); }
Services.CommentSvc.SubmitComment= function(articleID,comment,author,onSuccess,onFailed,userContext) {Services.CommentSvc._staticInstance.SubmitComment(articleID,comment,author,onSuccess,onFailed,userContext); }

