title: Add custom element to SOAP header in Spring WS
body: <p>I'm coding a web services client application using Spring WS with JAXB binding. 
  The services I'm using requiers authentication via wsse:security element in SOAP header (and one more custom header). I have all the necessary schemas compiled, including <code>wsse.xsd</code> compiled  to 
  <code>org.xmlsoap.schemas.ws._2002._12.secext.Security</code>.</p>
  
  <p>Yet I can't find a way to insert this or any other element into SOAP header. I know I can use interceptors or <code>SoapActionCallback</code>s, but what they allow me to do is to manually construct the header and add it to header section via <code>((SaajSoapMessage)webServiceMessage).getSoapHeader().addHeaderElement(qName)</code> and so forth. But I don't want to build this header manually, as I have a corresponding class that I can easily marshall. </p>
  
  <p>My question - is there a way to insert an object into SOAP header (or other part of the envelope) when invoking web service call in Spring WS? 
  I used Apache CXF and Axis2 to consume web services and this was never an issue - frameworks just did it for me behind the scenes (usually via service stubs mechanism).</p>