Type.registerNamespace('Chapitre.WebServices.Account');
Chapitre.WebServices.Account.Comment=function() {
Chapitre.WebServices.Account.Comment.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Chapitre.WebServices.Account.Comment.prototype={
AddComment:function(subject,text,login,rate,productId,succeededCallback, failedCallback, userContext) {
return this._invoke(Chapitre.WebServices.Account.Comment.get_path(), 'AddComment',false,{subject:subject,text:text,login:login,rate:rate,productId:productId},succeededCallback,failedCallback,userContext); }}
Chapitre.WebServices.Account.Comment.registerClass('Chapitre.WebServices.Account.Comment',Sys.Net.WebServiceProxy);
Chapitre.WebServices.Account.Comment._staticInstance = new Chapitre.WebServices.Account.Comment();
Chapitre.WebServices.Account.Comment.set_path = function(value) { Chapitre.WebServices.Account.Comment._staticInstance._path = value; }
Chapitre.WebServices.Account.Comment.get_path = function() { return Chapitre.WebServices.Account.Comment._staticInstance._path; }
Chapitre.WebServices.Account.Comment.set_timeout = function(value) { Chapitre.WebServices.Account.Comment._staticInstance._timeout = value; }
Chapitre.WebServices.Account.Comment.get_timeout = function() { return Chapitre.WebServices.Account.Comment._staticInstance._timeout; }
Chapitre.WebServices.Account.Comment.set_defaultUserContext = function(value) { Chapitre.WebServices.Account.Comment._staticInstance._userContext = value; }
Chapitre.WebServices.Account.Comment.get_defaultUserContext = function() { return Chapitre.WebServices.Account.Comment._staticInstance._userContext; }
Chapitre.WebServices.Account.Comment.set_defaultSucceededCallback = function(value) { Chapitre.WebServices.Account.Comment._staticInstance._succeeded = value; }
Chapitre.WebServices.Account.Comment.get_defaultSucceededCallback = function() { return Chapitre.WebServices.Account.Comment._staticInstance._succeeded; }
Chapitre.WebServices.Account.Comment.set_defaultFailedCallback = function(value) { Chapitre.WebServices.Account.Comment._staticInstance._failed = value; }
Chapitre.WebServices.Account.Comment.get_defaultFailedCallback = function() { return Chapitre.WebServices.Account.Comment._staticInstance._failed; }
Chapitre.WebServices.Account.Comment.set_path("/WebServices/Account/Comment.asmx");
Chapitre.WebServices.Account.Comment.AddComment= function(subject,text,login,rate,productId,onSuccess,onFailed,userContext) {Chapitre.WebServices.Account.Comment._staticInstance.AddComment(subject,text,login,rate,productId,onSuccess,onFailed,userContext); }
