title: CXF and Spring configured but CXF reports 'no services found'
body: <p>I have the following code and it doesn't work. CXF reports that no services are found and if I access it directly by <code>http://domain:8080/api/cxf/LotService</code>, I get 'No service was found'. I'm using the latest CXF and Spring 4 in Tomcat.</p>
  
  <pre><code>@Configuration
  @ImportResource({ "classpath:META-INF/cxf/cxf.xml" })
  public class CXFConfiguration {
  
      @Autowired
      ILotService lotService;
  
      @Bean
      public Endpoint lotService() {
          EndpointImpl endpoint = new EndpointImpl(SpringBusFactory.getDefaultBus(), lotService);
          endpoint.setAddress("/LotService");
          endpoint.publish();
  
          return endpoint;
      }
  </code></pre>