Type.registerNamespace('VolvoCars.SharePoint.Features.Site3.WebServices');
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator=function() {
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.get_path();},
GetCountries:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountries',false,{},succeededCallback,failedCallback,userContext); },
GetMarketsByCountryCode:function(sCountryCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarketsByCountryCode',false,{sCountryCode:sCountryCode},succeededCallback,failedCallback,userContext); },
GetDealersByMarket:function(sMarket,sLanguage,sGroup,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDealersByMarket',false,{sMarket:sMarket,sLanguage:sLanguage,sGroup:sGroup},succeededCallback,failedCallback,userContext); },
GetDealersByGeoCode:function(centerLatitude,centerLongitude,radius,sMarket,sLanguage,sGroup,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDealersByGeoCode',false,{centerLatitude:centerLatitude,centerLongitude:centerLongitude,radius:radius,sMarket:sMarket,sLanguage:sLanguage,sGroup:sGroup},succeededCallback,failedCallback,userContext); },
GetDealersByFreeText:function(sFreeText,sMarket,sLanguage,sGroup,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDealersByFreeText',false,{sFreeText:sFreeText,sMarket:sMarket,sLanguage:sLanguage,sGroup:sGroup},succeededCallback,failedCallback,userContext); },
GetDrivingDirectionsStartAddresses:function(sCity,sAddress,sZipCode,sMarket,sLanguage,sGroup,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDrivingDirectionsStartAddresses',false,{sCity:sCity,sAddress:sAddress,sZipCode:sZipCode,sMarket:sMarket,sLanguage:sLanguage,sGroup:sGroup},succeededCallback,failedCallback,userContext); }}
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.registerClass('VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator',Sys.Net.WebServiceProxy);
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance = new VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator();
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.set_path = function(value) { VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.set_path(value); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.get_path = function() { return VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.get_path(); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.set_timeout = function(value) { VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.set_timeout(value); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.get_timeout = function() { return VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.get_timeout(); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.set_defaultUserContext = function(value) { VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.set_defaultUserContext(value); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.get_defaultUserContext = function() { return VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.get_defaultUserContext(); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.set_defaultSucceededCallback = function(value) { VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.set_defaultSucceededCallback(value); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.get_defaultSucceededCallback = function() { return VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.get_defaultSucceededCallback(); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.set_defaultFailedCallback = function(value) { VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.set_defaultFailedCallback(value); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.get_defaultFailedCallback = function() { return VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.get_defaultFailedCallback(); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.set_path("/_layouts/VolvoCars.SharePoint.Features.Site3/WebServices/DealerLocator.asmx");
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.GetCountries= function(onSuccess,onFailed,userContext) {VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.GetCountries(onSuccess,onFailed,userContext); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.GetMarketsByCountryCode= function(sCountryCode,onSuccess,onFailed,userContext) {VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.GetMarketsByCountryCode(sCountryCode,onSuccess,onFailed,userContext); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.GetDealersByMarket= function(sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext) {VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.GetDealersByMarket(sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.GetDealersByGeoCode= function(centerLatitude,centerLongitude,radius,sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext) {VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.GetDealersByGeoCode(centerLatitude,centerLongitude,radius,sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.GetDealersByFreeText= function(sFreeText,sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext) {VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.GetDealersByFreeText(sFreeText,sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext); }
VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator.GetDrivingDirectionsStartAddresses= function(sCity,sAddress,sZipCode,sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext) {VolvoCars.SharePoint.Features.Site3.WebServices.DealerLocator._staticInstance.GetDrivingDirectionsStartAddresses(sCity,sAddress,sZipCode,sMarket,sLanguage,sGroup,onSuccess,onFailed,userContext); }

