var ProductDetails=function() {
ProductDetails.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProductDetails.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ProductDetails._staticInstance.get_path();},
GetProductTypes:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetProductTypes',false,{},succeededCallback,failedCallback,userContext); },
GetProductApplications:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetProductApplications',false,{},succeededCallback,failedCallback,userContext); },
GetProductIndustries:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetProductIndustries',false,{},succeededCallback,failedCallback,userContext); },
SelectProducts:function(productCategoryID,applicationID,industryID,succeededCallback, failedCallback, userContext) {
/// <param name="productCategoryID" type="Number">System.Int32</param>
/// <param name="applicationID" type="Number">System.Int32</param>
/// <param name="industryID" type="Number">System.Int32</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(), 'SelectProducts',false,{productCategoryID:productCategoryID,applicationID:applicationID,industryID:industryID},succeededCallback,failedCallback,userContext); },
GetProducts:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetProducts',false,{},succeededCallback,failedCallback,userContext); },
GetProduct:function(productID,succeededCallback, failedCallback, userContext) {
/// <param name="productID" type="Number">System.Int32</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(), 'GetProduct',false,{productID:productID},succeededCallback,failedCallback,userContext); }}
ProductDetails.registerClass('ProductDetails',Sys.Net.WebServiceProxy);
ProductDetails._staticInstance = new ProductDetails();
ProductDetails.set_path = function(value) {
ProductDetails._staticInstance.set_path(value); }
ProductDetails.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ProductDetails._staticInstance.get_path();}
ProductDetails.set_timeout = function(value) {
ProductDetails._staticInstance.set_timeout(value); }
ProductDetails.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ProductDetails._staticInstance.get_timeout(); }
ProductDetails.set_defaultUserContext = function(value) { 
ProductDetails._staticInstance.set_defaultUserContext(value); }
ProductDetails.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ProductDetails._staticInstance.get_defaultUserContext(); }
ProductDetails.set_defaultSucceededCallback = function(value) { 
 ProductDetails._staticInstance.set_defaultSucceededCallback(value); }
ProductDetails.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ProductDetails._staticInstance.get_defaultSucceededCallback(); }
ProductDetails.set_defaultFailedCallback = function(value) { 
ProductDetails._staticInstance.set_defaultFailedCallback(value); }
ProductDetails.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ProductDetails._staticInstance.get_defaultFailedCallback(); }
ProductDetails.set_path("/services/ProductDetails.asmx");
ProductDetails.GetProductTypes= function(onSuccess,onFailed,userContext) {
/// <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>
ProductDetails._staticInstance.GetProductTypes(onSuccess,onFailed,userContext); }
ProductDetails.GetProductApplications= function(onSuccess,onFailed,userContext) {
/// <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>
ProductDetails._staticInstance.GetProductApplications(onSuccess,onFailed,userContext); }
ProductDetails.GetProductIndustries= function(onSuccess,onFailed,userContext) {
/// <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>
ProductDetails._staticInstance.GetProductIndustries(onSuccess,onFailed,userContext); }
ProductDetails.SelectProducts= function(productCategoryID,applicationID,industryID,onSuccess,onFailed,userContext) {
/// <param name="productCategoryID" type="Number">System.Int32</param>
/// <param name="applicationID" type="Number">System.Int32</param>
/// <param name="industryID" type="Number">System.Int32</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>
ProductDetails._staticInstance.SelectProducts(productCategoryID,applicationID,industryID,onSuccess,onFailed,userContext); }
ProductDetails.GetProducts= function(onSuccess,onFailed,userContext) {
/// <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>
ProductDetails._staticInstance.GetProducts(onSuccess,onFailed,userContext); }
ProductDetails.GetProduct= function(productID,onSuccess,onFailed,userContext) {
/// <param name="productID" type="Number">System.Int32</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>
ProductDetails._staticInstance.GetProduct(productID,onSuccess,onFailed,userContext); }
