title: SOAPHandler and Spring Autowire
body: <p>I'm trying to inject a Spring Service into a SOAPHandler but the reference is always null.</p>
  
  <p>I tried extending SpringBeanAutowiringSupport and using:</p>
  
  <pre><code>public class FuelServiceSOAPHandlerBase extends SpringBeanAutowiringSupport implements SOAPHandler&lt;SOAPMessageContext&gt;, InitializingBean {
      @Autowired
      private AuthenticationService authenticationService;
  
      @Override
      @PostConstruct
      public void afterPropertiesSet() throws Exception {
          LOG.info("AuthenticationHandler - PostConstruct");
          SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
      }
      ....
  }
  </code></pre>
  
  <p>It does not work, authenticationService is always null. I tried also to get the Bean throw </p>
  
  <pre><code>authenticationService = WebApplicationContextUtils.getWebApplicationContext(((HttpServletRequest)context.getMessage().getProperty(MessageContext.SERVLET_REQUEST)).getSession().getServletContext()).getBean(FuelAuthenticationService.class);
  </code></pre>
  
  <p>But the ServletRequest is null. I'm executing the Webservice-Call throw SOAPUI.</p>
  
  <p>Does anybody knows what the error is?</p>
  
  <p>Thanks</p>