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

