title: Can't parse properties of complex type
body: <p>I'm working with eBay's finding service, and everything works fine except parsing unitPrice. It says <a href="http://developer.ebay.com/DevZone/finding/CallRef/types/UnitPriceInfo.html" rel="nofollow">here</a>:</p>
  
  <blockquote>
    <p>eBay uses the UnitType and UnitQuantity</p>
  </blockquote>
  
  <p>So in my UnitPriceInfo.java I have this:</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "UnitPriceInfo", propOrder = { "type", "quantity", "any" })
  public class UnitPriceInfo
  {
      @XmlElement(name = "UnitType")
      protected String type;
      @XmlElement(name = "UnitQuantity")
      protected Double quantity;
      @XmlAnyElement(lax = true)
      protected List&lt;Object&gt; any;
  </code></pre>
  
  <p>But still, <code>UnitPriceInfo</code> objects are instantiated but they always have both type and quantity fields to null.</p>
  
  <p>Do I need to change the type from String and Double to <code>UnitType</code> and <code>UnitQuantity</code>? If not, what's the problem?</p>