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