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

