title: Mixed Content for JAXB not working from WSDL
body: <p>I'm using NetBeans and I have two projects:</p>
  
  <ul>
  <li>A EJB Module to generate a webservice and deploy it to GlassFish</li>
  <li>A simple console client to test and consume this webservice</li>
  </ul>
  
  <p>For the webservice, I'm using an XSD with mixed content elements.
  Adding a binding file for JAXB import with the following code worked:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jaxb:bindings
   xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
   xmlns:xjc= "http://java.sun.com/xml/ns/jaxb/xjc" jaxb:extensionBindingPrefixes="xjc"
   jaxb:version="2.0"&gt;
    &lt;jaxb:globalBindings generateMixedExtensions="true"/&gt;
  &lt;/jaxb:bindings&gt;
  </code></pre>
  
  <p>It generated this code:</p>
  
  <pre><code>@XmlMixed
  @OverrideAnnotationOf
  protected List&lt;Serializable&gt; contentOverrideForED;
  </code></pre>
  
  <p>I can live with this generated code, although it's not ideal.</p>
  
  <p>My problem is with the client, for which I've added a Web Service Reference to my generated and deployed webservice, running simply on localhost.</p>
  
  <p>Using the same binding file in <code>WSDL Customization: External Binding File</code> doesn't yield the <code>content</code> code, nor does using it directly as an option for <code>Wsimport</code>, nor using it as a <code>Jaxb option</code>. I have a feeling that this setting is being disregarded somehow, but how?</p>
  
  <p>And why does the initial JAXB generation include it and why doesn't wsimport use it? I'm kind of puzzled here.</p>