title: Java QName prefix not working
body: <p>My question is quite simple.
  I'm adding a header to a SOAP request that needs to have a namespace prefix. As such I'm using </p>
  
  <pre><code>QName(String namespaceURI,
               String localPart,
               String prefix)
  </code></pre>
  
  <p>The problem is that although I set the prefix nothing is added, i.e:</p>
  
  <pre><code>new QName("http://lit.com/schemas/Bobsled", "bob:sessionId")
  </code></pre>
  
  <p>I get <code>&lt;bob:sessionId xmlns="http://lit.com/schemas/Bobsled"&gt;</code></p>
  
  <p>And with the prefix:</p>
  
  <pre><code>new QName("http://lit.com/schemas/Bobsled", "bob:sessionId","bob")
  </code></pre>
  
  <p>I get exactly the same thing, when it should be:</p>
  
  <pre><code>&lt;bob:sessionId xmlns:bob="http://lit.com/schemas/Bobsled"&gt;
  </code></pre>
  
  <p>...it seems like the prefix in the constructor isn't doing anything!</p>