title: Unable to set SOAP Header while calling Web Service through Camel using dataFormat as POJO
body: <p>I am using Camel in our project and requesting WebServices, the dataFormat is POJO. I was able to request when my SOAP message did not contain SOAP headers, but when it had Headers, I was unable to set those. I looked at the documentation but was not able to understand and have several questions.</p>
  
  <p>I want to create a message like the below:</p>
  
  <pre><code>&lt;soapenv:Envelope`enter code here`
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
      &lt;soapenv:Header&gt;
          &lt;platformMsgs:documentInfo
              xmlns:platformMsgs="urn:messages_2015_1.platform.webservices.netsuite.com"&gt;
              &lt;platformMsgs:nsId&gt;WEBSERVICES_3479023&lt;/platformMsgs:nsId&gt;
          &lt;/platformMsgs:documentInfo&gt;
      &lt;/soapenv:Header&gt;
      &lt;soapenv:Body&gt;
          &lt;addListResponse
              xmlns=""&gt;
              &lt;platformMsgs:writeResponseList
                  xmlns:platformMsgs="urn:messages_2015_1.platform.webservices.netsuite.com"&gt;
                  &lt;platformCore:status isSuccess="true"
                      xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/&gt;
                      &lt;platformMsgs:writeResponse&gt;
                          &lt;platformCore:status isSuccess="false"
                              xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"&gt;
                              &lt;platformCore:statusDetail type="ERROR"&gt;
                                  &lt;platformCore:code&gt;DUP_ENTITY&lt;/platformCore:code&gt;
                                  &lt;platformCore:message&gt;This entity already exists.&lt;/platformCore:message&gt;
                              &lt;/platformCore:statusDetail&gt;
                          &lt;/platformCore:status&gt;
                      &lt;/platformMsgs:writeResponse&gt;
                  &lt;/platformMsgs:writeResponseList&gt;
              &lt;/addListResponse&gt;`enter code here`
          &lt;/soapenv:Body&gt;
      &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>I will be able to send the message if there was only Body, but can someone give me a code snippet for including the header section? The dataFormat is POJO.</p>