var GetWord=function() {
GetWord.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GetWord.prototype={
GetCurrentPath:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GetWord.get_path(), 'GetCurrentPath',false,{},succeededCallback,failedCallback,userContext); },
GetWordList:function(path,succeededCallback, failedCallback, userContext) {
return this._invoke(GetWord.get_path(), 'GetWordList',false,{path:path},succeededCallback,failedCallback,userContext); }}
GetWord.registerClass('GetWord',Sys.Net.WebServiceProxy);
GetWord._staticInstance = new GetWord();
GetWord.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GetWord._staticInstance._path = value; }
GetWord.get_path = function() { return GetWord._staticInstance._path; }
GetWord.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GetWord._staticInstance._timeout = value; }
GetWord.get_timeout = function() { 
return GetWord._staticInstance._timeout; }
GetWord.set_defaultUserContext = function(value) { 
GetWord._staticInstance._userContext = value; }
GetWord.get_defaultUserContext = function() { 
return GetWord._staticInstance._userContext; }
GetWord.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GetWord._staticInstance._succeeded = value; }
GetWord.get_defaultSucceededCallback = function() { 
return GetWord._staticInstance._succeeded; }
GetWord.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GetWord._staticInstance._failed = value; }
GetWord.get_defaultFailedCallback = function() { 
return GetWord._staticInstance._failed; }
GetWord.set_path("/baomihua/GetWord.asmx");
GetWord.GetCurrentPath= function(onSuccess,onFailed,userContext) {GetWord._staticInstance.GetCurrentPath(onSuccess,onFailed,userContext); }
GetWord.GetWordList= function(path,onSuccess,onFailed,userContext) {GetWord._staticInstance.GetWordList(path,onSuccess,onFailed,userContext); }
