Type.registerNamespace('tempuri.org');
tempuri.org.DictionaryService=function() {
tempuri.org.DictionaryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
tempuri.org.DictionaryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return tempuri.org.DictionaryService._staticInstance.get_path();},
GetWordList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWordList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
ECSearch:function(wordIndex,dictId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ECSearch',false,{wordIndex:wordIndex,dictId:dictId},succeededCallback,failedCallback,userContext); },
ZiSearch:function(word,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ZiSearch',false,{word:word},succeededCallback,failedCallback,userContext); }}
tempuri.org.DictionaryService.registerClass('tempuri.org.DictionaryService',Sys.Net.WebServiceProxy);
tempuri.org.DictionaryService._staticInstance = new tempuri.org.DictionaryService();
tempuri.org.DictionaryService.set_path = function(value) { tempuri.org.DictionaryService._staticInstance.set_path(value); }
tempuri.org.DictionaryService.get_path = function() { return tempuri.org.DictionaryService._staticInstance.get_path(); }
tempuri.org.DictionaryService.set_timeout = function(value) { tempuri.org.DictionaryService._staticInstance.set_timeout(value); }
tempuri.org.DictionaryService.get_timeout = function() { return tempuri.org.DictionaryService._staticInstance.get_timeout(); }
tempuri.org.DictionaryService.set_defaultUserContext = function(value) { tempuri.org.DictionaryService._staticInstance.set_defaultUserContext(value); }
tempuri.org.DictionaryService.get_defaultUserContext = function() { return tempuri.org.DictionaryService._staticInstance.get_defaultUserContext(); }
tempuri.org.DictionaryService.set_defaultSucceededCallback = function(value) { tempuri.org.DictionaryService._staticInstance.set_defaultSucceededCallback(value); }
tempuri.org.DictionaryService.get_defaultSucceededCallback = function() { return tempuri.org.DictionaryService._staticInstance.get_defaultSucceededCallback(); }
tempuri.org.DictionaryService.set_defaultFailedCallback = function(value) { tempuri.org.DictionaryService._staticInstance.set_defaultFailedCallback(value); }
tempuri.org.DictionaryService.get_defaultFailedCallback = function() { return tempuri.org.DictionaryService._staticInstance.get_defaultFailedCallback(); }
tempuri.org.DictionaryService.set_path("/Services/DictionaryService.svc");
tempuri.org.DictionaryService.GetWordList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {tempuri.org.DictionaryService._staticInstance.GetWordList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
tempuri.org.DictionaryService.ECSearch= function(wordIndex,dictId,onSuccess,onFailed,userContext) {tempuri.org.DictionaryService._staticInstance.ECSearch(wordIndex,dictId,onSuccess,onFailed,userContext); }
tempuri.org.DictionaryService.ZiSearch= function(word,onSuccess,onFailed,userContext) {tempuri.org.DictionaryService._staticInstance.ZiSearch(word,onSuccess,onFailed,userContext); }
