# Where is the default services.xml located?

**URL:** <https://forum.shopware.com/t/where-is-the-default-services-xml-located/91904>\
**Category:** Programming (EN)\
**Tags:** general, administration, programming, other\
**Created:** [9. Dezember 2021 um 16:19 UTC](https://forum.shopware.com/t/where-is-the-default-services-xml-located/91904 "2021-12-09T16:19:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FinnMac](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@FinnMac](https://forum.shopware.com/u/FinnMac)\
**Post date:** [9. Dezember 2021 um 16:19 UTC](https://forum.shopware.com/t/where-is-the-default-services-xml-located/91904/1 "2021-12-09T16:19:45Z")

</div>

I have cloned the product-slider element, so that I can use a modified version for the homepage. The issue is the data resolver for the product-slider contains a constructor, with two arguments in it:

- ProductStreamBuilderInterface
- SystemConfigService

Where in the Shopware directory would I find where the arguments are passed to the original product-slider constructor? Or how do I pass these to the custom-product-slider data resolver I have implemented? I have passed product repositories as arguments before in the services.xml but nothing like either of those two parameters so I am lost

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [10. Dezember 2021 um 08:56 UTC](https://forum.shopware.com/t/where-is-the-default-services-xml-located/91904/2 "2021-12-10T08:56:31Z")

</div>

There are several service.xml. For example, each plugin has a service.xml.

Use the GitHub repository to search for the class in .xml files.
