var apostleautocomplete=function() {
apostleautocomplete.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
apostleautocomplete.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return apostleautocomplete._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetAccountList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAccountList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetAccountID:function(strAccountName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAccountID',false,{strAccountName:strAccountName},succeededCallback,failedCallback,userContext); },
GetProductName:function(strProdCode,strdbtype,strstiak,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductName',false,{strProdCode:strProdCode,strdbtype:strdbtype,strstiak:strstiak},succeededCallback,failedCallback,userContext); },
GetSTIAK:function(strProdCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSTIAK',false,{strProdCode:strProdCode},succeededCallback,failedCallback,userContext); },
CheckStiakWithApostleId:function(strSTIAK,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckStiakWithApostleId',false,{strSTIAK:strSTIAK},succeededCallback,failedCallback,userContext); },
GetMGroup:function(strProdCode,strdbtype,strstiak,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMGroup',false,{strProdCode:strProdCode,strdbtype:strdbtype,strstiak:strstiak},succeededCallback,failedCallback,userContext); },
GetMGroup2:function(strProdCode,strdbtype,strstiak,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMGroup2',false,{strProdCode:strProdCode,strdbtype:strdbtype,strstiak:strstiak},succeededCallback,failedCallback,userContext); },
GetPriceInfo:function(strProdCode,strdbtype,strstiakid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPriceInfo',false,{strProdCode:strProdCode,strdbtype:strdbtype,strstiakid:strstiakid},succeededCallback,failedCallback,userContext); },
GetPriceInfoByAccount:function(strProdCode,straccountid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPriceInfoByAccount',false,{strProdCode:strProdCode,straccountid:straccountid},succeededCallback,failedCallback,userContext); },
GetProductPriceInfo:function(strProdCode,objTCPC,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductPriceInfo',false,{strProdCode:strProdCode,objTCPC:objTCPC},succeededCallback,failedCallback,userContext); },
GetImage:function(strProdCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetImage',false,{strProdCode:strProdCode},succeededCallback,failedCallback,userContext); }}
apostleautocomplete.registerClass('apostleautocomplete',Sys.Net.WebServiceProxy);
apostleautocomplete._staticInstance = new apostleautocomplete();
apostleautocomplete.set_path = function(value) { apostleautocomplete._staticInstance.set_path(value); }
apostleautocomplete.get_path = function() { return apostleautocomplete._staticInstance.get_path(); }
apostleautocomplete.set_timeout = function(value) { apostleautocomplete._staticInstance.set_timeout(value); }
apostleautocomplete.get_timeout = function() { return apostleautocomplete._staticInstance.get_timeout(); }
apostleautocomplete.set_defaultUserContext = function(value) { apostleautocomplete._staticInstance.set_defaultUserContext(value); }
apostleautocomplete.get_defaultUserContext = function() { return apostleautocomplete._staticInstance.get_defaultUserContext(); }
apostleautocomplete.set_defaultSucceededCallback = function(value) { apostleautocomplete._staticInstance.set_defaultSucceededCallback(value); }
apostleautocomplete.get_defaultSucceededCallback = function() { return apostleautocomplete._staticInstance.get_defaultSucceededCallback(); }
apostleautocomplete.set_defaultFailedCallback = function(value) { apostleautocomplete._staticInstance.set_defaultFailedCallback(value); }
apostleautocomplete.get_defaultFailedCallback = function() { return apostleautocomplete._staticInstance.get_defaultFailedCallback(); }
apostleautocomplete.set_path("/apostleautocomplete.asmx");
apostleautocomplete.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
apostleautocomplete.GetAccountList= function(prefixText,count,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetAccountList(prefixText,count,onSuccess,onFailed,userContext); }
apostleautocomplete.GetAccountID= function(strAccountName,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetAccountID(strAccountName,onSuccess,onFailed,userContext); }
apostleautocomplete.GetProductName= function(strProdCode,strdbtype,strstiak,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetProductName(strProdCode,strdbtype,strstiak,onSuccess,onFailed,userContext); }
apostleautocomplete.GetSTIAK= function(strProdCode,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetSTIAK(strProdCode,onSuccess,onFailed,userContext); }
apostleautocomplete.CheckStiakWithApostleId= function(strSTIAK,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.CheckStiakWithApostleId(strSTIAK,onSuccess,onFailed,userContext); }
apostleautocomplete.GetMGroup= function(strProdCode,strdbtype,strstiak,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetMGroup(strProdCode,strdbtype,strstiak,onSuccess,onFailed,userContext); }
apostleautocomplete.GetMGroup2= function(strProdCode,strdbtype,strstiak,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetMGroup2(strProdCode,strdbtype,strstiak,onSuccess,onFailed,userContext); }
apostleautocomplete.GetPriceInfo= function(strProdCode,strdbtype,strstiakid,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetPriceInfo(strProdCode,strdbtype,strstiakid,onSuccess,onFailed,userContext); }
apostleautocomplete.GetPriceInfoByAccount= function(strProdCode,straccountid,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetPriceInfoByAccount(strProdCode,straccountid,onSuccess,onFailed,userContext); }
apostleautocomplete.GetProductPriceInfo= function(strProdCode,objTCPC,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetProductPriceInfo(strProdCode,objTCPC,onSuccess,onFailed,userContext); }
apostleautocomplete.GetImage= function(strProdCode,onSuccess,onFailed,userContext) {apostleautocomplete._staticInstance.GetImage(strProdCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Net.Sockets');
if (typeof(System.Net.Sockets.TcpClient) === 'undefined') {
System.Net.Sockets.TcpClient=gtc("System.Net.Sockets.TcpClient");
System.Net.Sockets.TcpClient.registerClass('System.Net.Sockets.TcpClient');
}

