Now define your service as a spring bean. For this, add the following entry in your CorrespondenceManagementSolutionTemplateServicesresourcesMETA-INFspringcmadobe-cm-spring-config.xml file:
<bean id=”sampleCustomService” class=”com.adobe.icc.SampleCustomServiceImpl” />