title: Unmarshalling with multiple namespaces
body: <p>So, lets say I have this xml with several namespaces.</p>
  
  <pre><code>&lt;Envelope xmlns:pdi="http://www.mypage.com/schemas/pdi" xmlns:ib="http://www.mypage.com/schemas/ib" xmlns="http://www.mypage.com/schemas/envelope"&gt;
    &lt;Product&gt;
      &lt;pdi:number&gt;123456&lt;/pdi:number&gt;
    &lt;/Product&gt;
    &lt;Instance&gt;
      &lt;ib:serial&gt;abcdefg&lt;/ib:serial&gt;
    &lt;/Instance&gt;
  &lt;/Envelope&gt;
  </code></pre>
  
  <p>I'm trying to build a client for it. I have an Envelope POJO that's declared like this</p>
  
  <pre><code>@XmlRootElement(name ="Envelope", namespace = "http://www.mypage.com/schemas/envelope")
  public class Envelope
  </code></pre>
  
  <p>and inside, it has these attributes</p>
  
  <pre><code>@XmlElement(name="Product", namespace = "http://www.mypage.com/schemas/pdi")
  public Product getProduct(){...}
  
  @XmlElement(name="Instance", namespace = "http://www.mypage.com/schemas/ib")
  public Instance getInstance(){...}
  </code></pre>
  
  <p>Also, the Product POJO looks like this:</p>
  
  <pre><code>@XmlRootElement(name="Product", namespace = "http://www.mypage.com/schemas/pdi")
  public class Product
  </code></pre>
  
  <p>and attribute </p>
  
  <pre><code>@XmlElement(name="pdi:number", namespace = "http://www.mypage.com/schemas/pdi")
  public int getNumber(){...}
  </code></pre>
  
  <p>For some reason, I can't get the product number. I keep getting a request error. Am I handling the namespaces correctly, or am I missing something?</p>