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

