var mywebservice=function() {
mywebservice.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
mywebservice.prototype={
mywebservice:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(mywebservice.get_path(), 'mywebservice',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
mywebservice.registerClass('mywebservice',Sys.Net.WebServiceProxy);
mywebservice._staticInstance = new mywebservice();
mywebservice.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; mywebservice._staticInstance._path = value; }
mywebservice.get_path = function() { return mywebservice._staticInstance._path; }
mywebservice.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); }
mywebservice._staticInstance._timeout = value; }
mywebservice.get_timeout = function() { 
return mywebservice._staticInstance._timeout; }
mywebservice.set_defaultUserContext = function(value) { 
mywebservice._staticInstance._userContext = value; }
mywebservice.get_defaultUserContext = function() { 
return mywebservice._staticInstance._userContext; }
mywebservice.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; mywebservice._staticInstance._succeeded = value; }
mywebservice.get_defaultSucceededCallback = function() { 
return mywebservice._staticInstance._succeeded; }
mywebservice.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; mywebservice._staticInstance._failed = value; }
mywebservice.get_defaultFailedCallback = function() { 
return mywebservice._staticInstance._failed; }
mywebservice.set_path("/mywebservice.asmx");
mywebservice.mywebservice= function(prefixText,count,onSuccess,onFailed,userContext) {mywebservice._staticInstance.mywebservice(prefixText,count,onSuccess,onFailed,userContext); }
