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