title: How to add SOAP Headers to Spring Jax-WS Client?
body: <p>How can I add SOAP Headers to  Spring Jax-WS Client?</p>
  
  <p>Specifically, I have a Jaxb object I would like to add to the header but xml examples would be appreciated.</p>
  
  <p>I am using Spring's JaxWsPortProxyFactoryBean described <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/remoting.html#remoting-web-services-jaxws-access" rel="noreferrer">here</a>. Also, I am generating my client as described <a href="http://musingsofaprogrammingaddict.blogspot.com/2009/03/writing-and-testing-jax-ws-clients.html" rel="noreferrer">here</a> which is working less the headers I need to add.</p>
  
  <p>Thank you.</p>