title: Creating a SOAP Header with WS-Addressing and WS-Security from scratch
body: <p>I am sending out a SOAP message from a windows service to an http endpoint (regular aspx page that will just accept the whole SOAP envelope). The overall operation is async, the actual response comes back at a later time. The nature of the setup (aspx page receiving message) means I cannot have a service reference in my project.</p>
  
  <p>The SOAP header has to include WS-Addressing and WS-Security. What I need to do is basically construct the SOAP envelope, but more specifically the SOAP header from scratch and then compose the SOAP envelope before sending it.</p>
  
  <p>Its Friday afternoon, I am frazzled and I am struggling to get to grips with getting this going. Using .net3.5/C#, how do I construct a SOAP header with the addressing and security from scratch?</p>