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