Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.



The serviceSF.xml contains definitions for beans that are only used in the storefront web application. It is located in the ep-storefront\src\main\resources\spring\service directory.

SEO Locale Changes

In the serviceSF.xml, the following bean is defined:

<bean id="localeUrlTool" class="">
   <property name="seoBuilderVar" ><ref bean="coreSeoUrlBuilder"/></property>
   <property name="localeControllerUrl"><value>locale.ep</value></property>

This bean is used to create SEO friendly URLs for pages in different locales. For the non-SEO will use the Locale controller to change the locale.

  • localeControllerUrl - is the key for the LocaleControllerImpl defined in SF/url-mapping.xml:
    <prop key="/locale.ep">localeController</prop>