title: Vaadin with Apache CXF SOAP service
body: <p>I am new to Vaadin, just generated the application in Vaadin web site and built it locally. Then I added Apache CXF SOAP service to it, but I am unable to use the Tomcat that Vaadin is using, but instead I load SOAP in Jetty using:</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
      &lt;artifactId&gt;cxf-rt-transports-http-jetty&lt;/artifactId&gt;
      &lt;version&gt;${cxf.version}&lt;/version&gt;
      &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>My Vaadin application is:</p>
  <pre><code>@SpringBootApplication
  @Theme(value = &quot;iciclient&quot;, variant = Lumo.DARK)
  @PWA(name = &quot;ICI Client&quot;, shortName = &quot;ICI Client&quot;, offlineResources = {&quot;images/logo.png&quot;})
  public class Application extends SpringBootServletInitializer implements AppShellConfigurator {
  
      public static void main(String[] args) {
          LaunchUtil.launchBrowserInDevelopmentMode(SpringApplication.run(Application.class, args));
          try {
              System.out.println(&quot;Starting IciEventClient&quot;);
              Object implementor = new IciEventServiceSoap12Impl();
              String address = &quot;http://localhost:8081/ici/IciEventService&quot;;
              Endpoint.publish(address, implementor);
              // http://localhost:8081/ici/IciEventService?WSDL
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  
  }
  </code></pre>
  <p>While this works, I would like to get rid of separate Jetty dependency and run the SOAP service in Vaadin Tomcat (localhost:8080).
  Should be simple but I can't figure out how to do it.
  I think that it needs a separate servlet and route, but I don't know how to add them.
  There is no web.xml in the Vaadin application, for example.</p>