Type.registerNamespace('APH.SC.Web.Predictive');
APH.SC.Web.Predictive.Predictive=function() {
APH.SC.Web.Predictive.Predictive.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
APH.SC.Web.Predictive.Predictive.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return APH.SC.Web.Predictive.Predictive._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetHansardKeyword:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHansardKeyword',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetSectionKeyword:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSectionKeyword',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
APH.SC.Web.Predictive.Predictive.registerClass('APH.SC.Web.Predictive.Predictive',Sys.Net.WebServiceProxy);
APH.SC.Web.Predictive.Predictive._staticInstance = new APH.SC.Web.Predictive.Predictive();
APH.SC.Web.Predictive.Predictive.set_path = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_path(value); }
APH.SC.Web.Predictive.Predictive.get_path = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_path(); }
APH.SC.Web.Predictive.Predictive.set_timeout = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_timeout(value); }
APH.SC.Web.Predictive.Predictive.get_timeout = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_timeout(); }
APH.SC.Web.Predictive.Predictive.set_defaultUserContext = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_defaultUserContext(value); }
APH.SC.Web.Predictive.Predictive.get_defaultUserContext = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_defaultUserContext(); }
APH.SC.Web.Predictive.Predictive.set_defaultSucceededCallback = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_defaultSucceededCallback(value); }
APH.SC.Web.Predictive.Predictive.get_defaultSucceededCallback = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_defaultSucceededCallback(); }
APH.SC.Web.Predictive.Predictive.set_defaultFailedCallback = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_defaultFailedCallback(value); }
APH.SC.Web.Predictive.Predictive.get_defaultFailedCallback = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_defaultFailedCallback(); }
APH.SC.Web.Predictive.Predictive.set_enableJsonp = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_enableJsonp(value); }
APH.SC.Web.Predictive.Predictive.get_enableJsonp = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_enableJsonp(); }
APH.SC.Web.Predictive.Predictive.set_jsonpCallbackParameter = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_jsonpCallbackParameter(value); }
APH.SC.Web.Predictive.Predictive.get_jsonpCallbackParameter = function() { return APH.SC.Web.Predictive.Predictive._staticInstance.get_jsonpCallbackParameter(); }
APH.SC.Web.Predictive.Predictive.set_path("/predictive/predictive.asmx");
APH.SC.Web.Predictive.Predictive.HelloWorld= function(onSuccess,onFailed,userContext) {APH.SC.Web.Predictive.Predictive._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
APH.SC.Web.Predictive.Predictive.GetHansardKeyword= function(prefixText,count,onSuccess,onFailed,userContext) {APH.SC.Web.Predictive.Predictive._staticInstance.GetHansardKeyword(prefixText,count,onSuccess,onFailed,userContext); }
APH.SC.Web.Predictive.Predictive.GetSectionKeyword= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {APH.SC.Web.Predictive.Predictive._staticInstance.GetSectionKeyword(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
