Type.registerNamespace('RedLotus.SanJiChang.Web');
RedLotus.SanJiChang.Web.Account=function() {
RedLotus.SanJiChang.Web.Account.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RedLotus.SanJiChang.Web.Account.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RedLotus.SanJiChang.Web.Account._staticInstance.get_path();},
IsNameExsited:function(name,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'IsNameExsited',false,{name:name},succeededCallback,failedCallback,userContext); }}
RedLotus.SanJiChang.Web.Account.registerClass('RedLotus.SanJiChang.Web.Account',Sys.Net.WebServiceProxy);
RedLotus.SanJiChang.Web.Account._staticInstance = new RedLotus.SanJiChang.Web.Account();
RedLotus.SanJiChang.Web.Account.set_path = function(value) {
RedLotus.SanJiChang.Web.Account._staticInstance.set_path(value); }
RedLotus.SanJiChang.Web.Account.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return RedLotus.SanJiChang.Web.Account._staticInstance.get_path();}
RedLotus.SanJiChang.Web.Account.set_timeout = function(value) {
RedLotus.SanJiChang.Web.Account._staticInstance.set_timeout(value); }
RedLotus.SanJiChang.Web.Account.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return RedLotus.SanJiChang.Web.Account._staticInstance.get_timeout(); }
RedLotus.SanJiChang.Web.Account.set_defaultUserContext = function(value) { 
RedLotus.SanJiChang.Web.Account._staticInstance.set_defaultUserContext(value); }
RedLotus.SanJiChang.Web.Account.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return RedLotus.SanJiChang.Web.Account._staticInstance.get_defaultUserContext(); }
RedLotus.SanJiChang.Web.Account.set_defaultSucceededCallback = function(value) { 
 RedLotus.SanJiChang.Web.Account._staticInstance.set_defaultSucceededCallback(value); }
RedLotus.SanJiChang.Web.Account.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return RedLotus.SanJiChang.Web.Account._staticInstance.get_defaultSucceededCallback(); }
RedLotus.SanJiChang.Web.Account.set_defaultFailedCallback = function(value) { 
RedLotus.SanJiChang.Web.Account._staticInstance.set_defaultFailedCallback(value); }
RedLotus.SanJiChang.Web.Account.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return RedLotus.SanJiChang.Web.Account._staticInstance.get_defaultFailedCallback(); }
RedLotus.SanJiChang.Web.Account.set_path("/service/Account.asmx");
RedLotus.SanJiChang.Web.Account.IsNameExsited= function(name,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
RedLotus.SanJiChang.Web.Account._staticInstance.IsNameExsited(name,onSuccess,onFailed,userContext); }

