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