Yes, I read right , you can use spring boot to create SOAP base services. Actually you can expose the service implementation both as REST & SOAP. It just need a small tweak to your existing REST service. This small tweak will enable existig REST service to be exposed as SOAP services as well.
Follow the below steps to achieve the same
Add the following dependency in your pom.xml
Create a new Implementation of service as below (service performing addition of 2 numbers). Your main service class & RestController class remains same.
Introduce a new class by the name WebServiceConfig.java. This class is responsible for bootstrapping SOAP end point
Run the service & access WSDL - http://localhost:8080/services/v1/