Type.registerNamespace('SBN.MegaYellow.TestBench.WebServices');
SBN.MegaYellow.TestBench.WebServices.Suggestions=function() {
SBN.MegaYellow.TestBench.WebServices.Suggestions.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SBN.MegaYellow.TestBench.WebServices.Suggestions.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.get_path();},
HelloWorld: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(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetNumbers:function(prefixText,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" 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(), 'GetNumbers',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetLocations:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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(), 'GetLocations',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCategories:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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(), 'GetCategories',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
SBN.MegaYellow.TestBench.WebServices.Suggestions.registerClass('SBN.MegaYellow.TestBench.WebServices.Suggestions',Sys.Net.WebServiceProxy);
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance = new SBN.MegaYellow.TestBench.WebServices.Suggestions();
SBN.MegaYellow.TestBench.WebServices.Suggestions.set_path = function(value) {
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.set_path(value); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.get_path();}
SBN.MegaYellow.TestBench.WebServices.Suggestions.set_timeout = function(value) {
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.set_timeout(value); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.get_timeout(); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.set_defaultUserContext = function(value) { 
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.set_defaultUserContext(value); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.get_defaultUserContext(); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.set_defaultSucceededCallback = function(value) { 
 SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.set_defaultSucceededCallback(value); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.get_defaultSucceededCallback(); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.set_defaultFailedCallback = function(value) { 
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.set_defaultFailedCallback(value); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.get_defaultFailedCallback(); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.set_path("/WebServices/Suggestions.asmx");
SBN.MegaYellow.TestBench.WebServices.Suggestions.HelloWorld= 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>
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.GetNumbers= function(prefixText,onSuccess,onFailed,userContext) {
/// <param name="prefixText" 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>
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.GetNumbers(prefixText,onSuccess,onFailed,userContext); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.GetLocations= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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>
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.GetLocations(prefixText,count,onSuccess,onFailed,userContext); }
SBN.MegaYellow.TestBench.WebServices.Suggestions.GetCategories= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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>
SBN.MegaYellow.TestBench.WebServices.Suggestions._staticInstance.GetCategories(prefixText,count,onSuccess,onFailed,userContext); }
