title: Injecting Jaxb2Marshaller in Spring MVC controller
body: <p>I am trying to convert a static xml into a POJO (unmarshalling) in my controller class. I am using Jaxb2Marshaller and I am configuring in the following way in my <strong>root context</strong></p>
  
  <pre><code>&lt;oxm:jaxb2-marshaller id="marshaller"&gt;
      &lt;oxm:class-to-be-bound name="org.springframework.ws.samples.airline.schema.Airport"/&gt;        
  &lt;/oxm:jaxb2-marshaller&gt;
  </code></pre>
  
  <p>I am trying to inject the marshaller using autowiring. But it throws <strong>No Bean Found Exception</strong>.</p>
  
  <pre><code>@AutoWired
  private Unmarshaller marshaller;
  </code></pre>
  
  <p>How to inject the marshaller in the controller. Any other ways or pointing out the error in my code will be helpful?</p>