Type.registerNamespace('WebCars.WebServices');
WebCars.WebServices.WebComments=function() {
WebCars.WebServices.WebComments.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebCars.WebServices.WebComments.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebCars.WebServices.WebComments._staticInstance.get_path();},
GetWebComments:function(entity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWebComments',false,{entity:entity},succeededCallback,failedCallback,userContext); },
AddWebComments:function(entity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddWebComments',false,{entity:entity},succeededCallback,failedCallback,userContext); }}
WebCars.WebServices.WebComments.registerClass('WebCars.WebServices.WebComments',Sys.Net.WebServiceProxy);
WebCars.WebServices.WebComments._staticInstance = new WebCars.WebServices.WebComments();
WebCars.WebServices.WebComments.set_path = function(value) { WebCars.WebServices.WebComments._staticInstance.set_path(value); }
WebCars.WebServices.WebComments.get_path = function() { return WebCars.WebServices.WebComments._staticInstance.get_path(); }
WebCars.WebServices.WebComments.set_timeout = function(value) { WebCars.WebServices.WebComments._staticInstance.set_timeout(value); }
WebCars.WebServices.WebComments.get_timeout = function() { return WebCars.WebServices.WebComments._staticInstance.get_timeout(); }
WebCars.WebServices.WebComments.set_defaultUserContext = function(value) { WebCars.WebServices.WebComments._staticInstance.set_defaultUserContext(value); }
WebCars.WebServices.WebComments.get_defaultUserContext = function() { return WebCars.WebServices.WebComments._staticInstance.get_defaultUserContext(); }
WebCars.WebServices.WebComments.set_defaultSucceededCallback = function(value) { WebCars.WebServices.WebComments._staticInstance.set_defaultSucceededCallback(value); }
WebCars.WebServices.WebComments.get_defaultSucceededCallback = function() { return WebCars.WebServices.WebComments._staticInstance.get_defaultSucceededCallback(); }
WebCars.WebServices.WebComments.set_defaultFailedCallback = function(value) { WebCars.WebServices.WebComments._staticInstance.set_defaultFailedCallback(value); }
WebCars.WebServices.WebComments.get_defaultFailedCallback = function() { return WebCars.WebServices.WebComments._staticInstance.get_defaultFailedCallback(); }
WebCars.WebServices.WebComments.set_path("/WS/WebComments.asmx");
WebCars.WebServices.WebComments.GetWebComments= function(entity,onSuccess,onFailed,userContext) {WebCars.WebServices.WebComments._staticInstance.GetWebComments(entity,onSuccess,onFailed,userContext); }
WebCars.WebServices.WebComments.AddWebComments= function(entity,onSuccess,onFailed,userContext) {WebCars.WebServices.WebComments._staticInstance.AddWebComments(entity,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('WebCars.Business.Comment');
if (typeof(WebCars.Business.Comment.WebCommentObjectModel) === 'undefined') {
WebCars.Business.Comment.WebCommentObjectModel=gtc("WebCars.Business.Comment.WebCommentObjectModel");
WebCars.Business.Comment.WebCommentObjectModel.registerClass('WebCars.Business.Comment.WebCommentObjectModel');
}
if (typeof(WebCars.Business.Comment.WebCommentEntity) === 'undefined') {
WebCars.Business.Comment.WebCommentEntity=gtc("WebCars.Business.Comment.WebCommentEntity");
WebCars.Business.Comment.WebCommentEntity.registerClass('WebCars.Business.Comment.WebCommentEntity');
}
