var ProductDetail=function() {
ProductDetail.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProductDetail.prototype={
GetProduct:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductDetail.get_path(), 'GetProduct',false,{id:id},succeededCallback,failedCallback,userContext); },
GetProductList:function(ProductID,CategoryId,SubCategoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductDetail.get_path(), 'GetProductList',false,{ProductID:ProductID,CategoryId:CategoryId,SubCategoryId:SubCategoryId},succeededCallback,failedCallback,userContext); }}
ProductDetail.registerClass('ProductDetail',Sys.Net.WebServiceProxy);
ProductDetail._staticInstance = new ProductDetail();
ProductDetail.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ProductDetail._staticInstance._path = value; }
ProductDetail.get_path = function() { return ProductDetail._staticInstance._path; }
ProductDetail.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ProductDetail._staticInstance._timeout = value; }
ProductDetail.get_timeout = function() { 
return ProductDetail._staticInstance._timeout; }
ProductDetail.set_defaultUserContext = function(value) { 
ProductDetail._staticInstance._userContext = value; }
ProductDetail.get_defaultUserContext = function() { 
return ProductDetail._staticInstance._userContext; }
ProductDetail.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ProductDetail._staticInstance._succeeded = value; }
ProductDetail.get_defaultSucceededCallback = function() { 
return ProductDetail._staticInstance._succeeded; }
ProductDetail.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ProductDetail._staticInstance._failed = value; }
ProductDetail.get_defaultFailedCallback = function() { 
return ProductDetail._staticInstance._failed; }
ProductDetail.set_path("/ProductDetail.asmx");
ProductDetail.GetProduct= function(id,onSuccess,onFailed,userContext) {ProductDetail._staticInstance.GetProduct(id,onSuccess,onFailed,userContext); }
ProductDetail.GetProductList= function(ProductID,CategoryId,SubCategoryId,onSuccess,onFailed,userContext) {ProductDetail._staticInstance.GetProductList(ProductID,CategoryId,SubCategoryId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Chat_Cafe_DAL');
if (typeof(Chat_Cafe_DAL.Product) === 'undefined') {
Chat_Cafe_DAL.Product=gtc("Chat_Cafe_DAL.Product");
Chat_Cafe_DAL.Product.registerClass('Chat_Cafe_DAL.Product');
}

