title: JAX-WS response with holder<List<T>> with an object but with null attributes
body: <p>i have a big problem calling a webService. When i did the import of the classes of the wsdl, i give this @WebService as a interface:</p>
  
  <pre><code>public void consultarProgramaCronicos(
          @WebParam(name = "consultarProgramaCronicos", targetNamespace = "") ConsultarProgramaCronicosVO consultarProgramaCronicos,
          @WebParam(name = "sip", targetNamespace = "", mode = WebParam.Mode.OUT) Holder&lt;String&gt; sip,
          @WebParam(name = "programaCronico", targetNamespace = "", mode = WebParam.Mode.OUT) Holder&lt;List&lt;ProgramaCronicoVO&gt;&gt; programaCronico,
          @WebParam(name = "marcaCronicidad", targetNamespace = "", mode = WebParam.Mode.OUT) Holder&lt;List&lt;MarcaCronicidadVO&gt;&gt; marcaCronicidad)
          throws ConsultarProgramaCronicosFault;    
  </code></pre>
  
  <p>So in my class, when i call this method i need to call it like this:</p>
  
  <pre><code>final Holder&lt;String&gt; sipHolder = new Holder&lt;String&gt;();
  final Holder&lt;List&lt;ProgramaCronicoVO&gt;&gt; listProgramaCronico = new Holder&lt;List&lt;ProgramaCronicoVO&gt;&gt;();
  final Holder&lt;List&lt;MarcaCronicidadVO&gt;&gt; listMarcaCronicidad = new Holder&lt;List&lt;MarcaCronicidadVO&gt;&gt;();
  cronicos.consultarProgramaCronicos(cpc, sipHolder, listProgramaCronico, listMarcaCronicidad);
  </code></pre>
  
  <p>I pass an cpc object with the parameters i want, and i pass 3 holders for the answer.
  The problem is i receive an object in the list  but the primitive parameters of the object is "null".</p>
  
  <p>This is the xml i receive:</p>
  
  <pre><code>&lt;soap:Body wsu:Id="id-1995630735" xmlns:wsu=""&gt;
  &lt;consultarProgramaCronicosResponse xmlns=""&gt;
    &lt;sip&gt;1703595&lt;/sip&gt;
    &lt;marcaCronicidad&gt;
      &lt;tipoMarca&gt;CCC&lt;/tipoMarca&gt;
      &lt;resultado&gt;624&lt;/resultado&gt;
      &lt;estadosalud&gt;5&lt;/estadosalud&gt;
      &lt;gravedad&gt;1&lt;/gravedad&gt;
      &lt;nivel&gt;1&lt;/nivel&gt;
      &lt;descripcionNivel&gt;Texto cualquiera.&lt;/descripcionNivel&gt;
    &lt;/marcaCronicidad&gt;
  &lt;/consultarProgramaCronicosResponse&gt;&lt;/soap:Body&gt;
  </code></pre>
  
  <p>In the "sip" holder i have the corrrect value. But In the List holder i have a list with one element of MarcaCronicidadV0, but all the string of this element are null.</p>
  
  <p>Now, i show you a part of the .wsdl:</p>
  
  <pre><code>&lt;xsd:complexType name="consultarProgramaCronicosResponse"&gt;
  &lt;xsd:sequence&gt;
  &lt;xsd:element minOccurs="0" name="sip" type="xs:string"/&gt;
  &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="programaCronico" type="tns:programaCronicoVO"/&gt;
  &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="marcaCronicidad" type="tns:marcaCronicidadVO"/&gt;
  &lt;/xsd:sequence&gt;
  &lt;/xsd:complexType&gt;
  &lt;xsd:complexType name="marcaCronicidadVO"&gt;
  &lt;xsd:sequence&gt;
  &lt;xsd:element name="tipoMarca" type="xs:string"/&gt;
  &lt;xsd:element minOccurs="0" name="resultado" type="xs:string"/&gt;
  &lt;xsd:element minOccurs="0" name="estadosalud" type="xs:string"/&gt;
  &lt;xsd:element minOccurs="0" name="gravedad" type="xs:string"/&gt;
  &lt;xsd:element minOccurs="0" name="nivel" type="xs:string"/&gt;
  &lt;/xsd:sequence&gt;
  &lt;/xsd:complexType&gt;
  </code></pre>
  
  <p>And this is the class MarcaCronicidadVO:</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "marcaCronicidadVO", namespace = "", propOrder = { "tipoMarca",
          "resultado", "estadosalud", "gravedad", "nivel" })
  public class MarcaCronicidadVO {
  
      @XmlElement(required = true)
      protected String tipoMarca;
      protected String resultado;
      protected String estadosalud;
      protected String gravedad;
      protected String nivel;
  
      //getters y setters here
  </code></pre>
  
  <p>And in the end the "main object":</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "consultarProgramaCronicosResponse", namespace = "", propOrder = { "sip", "programaCronico","marcaCronicidad" })
  public class ConsultarProgramaCronicosResponse {
  
      protected String sip;
      protected List&lt;ProgramaCronicoVO&gt; programaCronico;
      protected List&lt;MarcaCronicidadVO&gt; marcaCronicidad;
  
  public String getSip() {
          return sip;
      }
  public void setSip(String value) {
          this.sip = value;
      }
  public List&lt;MarcaCronicidadVO&gt; getMarcaCronicidad() {
          if (marcaCronicidad == null) {
              marcaCronicidad = new ArrayList&lt;MarcaCronicidadVO&gt;();
          }
          return this.marcaCronicidad;
      }
  public List&lt;ProgramaCronicoVO&gt; getProgramaCronico() {
          if (programaCronico == null) {
              programaCronico = new ArrayList&lt;ProgramaCronicoVO&gt;();
          }
          return this.programaCronico;
      }
  </code></pre>
  
  <p>Why i dont have any error, and i recieve 3 correct holder, but in the holder list i have an element with attributes String with null value??????</p>
  
  <p>Sorry by my english. Thank you!</p>