Type.registerNamespace('alpweb.webservices');
alpweb.webservices.ProductWebService=function() {
alpweb.webservices.ProductWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
alpweb.webservices.ProductWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return alpweb.webservices.ProductWebService._staticInstance.get_path();},
GetProductsXML:function(contextKey,succeededCallback, failedCallback, userContext) {
/// <param name="contextKey" type="String">System.String</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(), 'GetProductsXML',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetTopProductsByFamilyXML:function(contextKey,numObjects,succeededCallback, failedCallback, userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="numObjects" 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(), 'GetTopProductsByFamilyXML',false,{contextKey:contextKey,numObjects:numObjects},succeededCallback,failedCallback,userContext); },
GetRelatedProductsXML:function(contextKey,numObjects,succeededCallback, failedCallback, userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="numObjects" 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(), 'GetRelatedProductsXML',false,{contextKey:contextKey,numObjects:numObjects},succeededCallback,failedCallback,userContext); },
GetAlsoBoughtProductsXML:function(contextKey,numObjects,succeededCallback, failedCallback, userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="numObjects" 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(), 'GetAlsoBoughtProductsXML',false,{contextKey:contextKey,numObjects:numObjects},succeededCallback,failedCallback,userContext); },
GetProductsByKeyword:function(keyword,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</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(), 'GetProductsByKeyword',false,{keyword:keyword},succeededCallback,failedCallback,userContext); },
GetHighlightedXML: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(), 'GetHighlightedXML',false,{},succeededCallback,failedCallback,userContext); }}
alpweb.webservices.ProductWebService.registerClass('alpweb.webservices.ProductWebService',Sys.Net.WebServiceProxy);
alpweb.webservices.ProductWebService._staticInstance = new alpweb.webservices.ProductWebService();
alpweb.webservices.ProductWebService.set_path = function(value) {
alpweb.webservices.ProductWebService._staticInstance.set_path(value); }
alpweb.webservices.ProductWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return alpweb.webservices.ProductWebService._staticInstance.get_path();}
alpweb.webservices.ProductWebService.set_timeout = function(value) {
alpweb.webservices.ProductWebService._staticInstance.set_timeout(value); }
alpweb.webservices.ProductWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return alpweb.webservices.ProductWebService._staticInstance.get_timeout(); }
alpweb.webservices.ProductWebService.set_defaultUserContext = function(value) { 
alpweb.webservices.ProductWebService._staticInstance.set_defaultUserContext(value); }
alpweb.webservices.ProductWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return alpweb.webservices.ProductWebService._staticInstance.get_defaultUserContext(); }
alpweb.webservices.ProductWebService.set_defaultSucceededCallback = function(value) { 
 alpweb.webservices.ProductWebService._staticInstance.set_defaultSucceededCallback(value); }
alpweb.webservices.ProductWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return alpweb.webservices.ProductWebService._staticInstance.get_defaultSucceededCallback(); }
alpweb.webservices.ProductWebService.set_defaultFailedCallback = function(value) { 
alpweb.webservices.ProductWebService._staticInstance.set_defaultFailedCallback(value); }
alpweb.webservices.ProductWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return alpweb.webservices.ProductWebService._staticInstance.get_defaultFailedCallback(); }
alpweb.webservices.ProductWebService.set_path("/webservices/ProductWebService.asmx");
alpweb.webservices.ProductWebService.GetProductsXML= function(contextKey,onSuccess,onFailed,userContext) {
/// <param name="contextKey" type="String">System.String</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>
alpweb.webservices.ProductWebService._staticInstance.GetProductsXML(contextKey,onSuccess,onFailed,userContext); }
alpweb.webservices.ProductWebService.GetTopProductsByFamilyXML= function(contextKey,numObjects,onSuccess,onFailed,userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="numObjects" 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>
alpweb.webservices.ProductWebService._staticInstance.GetTopProductsByFamilyXML(contextKey,numObjects,onSuccess,onFailed,userContext); }
alpweb.webservices.ProductWebService.GetRelatedProductsXML= function(contextKey,numObjects,onSuccess,onFailed,userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="numObjects" 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>
alpweb.webservices.ProductWebService._staticInstance.GetRelatedProductsXML(contextKey,numObjects,onSuccess,onFailed,userContext); }
alpweb.webservices.ProductWebService.GetAlsoBoughtProductsXML= function(contextKey,numObjects,onSuccess,onFailed,userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="numObjects" 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>
alpweb.webservices.ProductWebService._staticInstance.GetAlsoBoughtProductsXML(contextKey,numObjects,onSuccess,onFailed,userContext); }
alpweb.webservices.ProductWebService.GetProductsByKeyword= function(keyword,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</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>
alpweb.webservices.ProductWebService._staticInstance.GetProductsByKeyword(keyword,onSuccess,onFailed,userContext); }
alpweb.webservices.ProductWebService.GetHighlightedXML= 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>
alpweb.webservices.ProductWebService._staticInstance.GetHighlightedXML(onSuccess,onFailed,userContext); }
