title: Amazon Marketplace API ProductImage Feed unexpected element error while parsing xml
body: <p>I'm working with amazon mws feed api in java and I'm having some problem while sending a ProductImage feed to amazon.</p>
  
  <p>This is the xml I'm sending:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;ProductImage&gt;
      &lt;SKU&gt;ABCDORD0001&lt;/SKU&gt;
      &lt;ImageType&gt;Main&lt;/ImageType&gt;
      &lt;ImageLocation&gt;http://vocearancio.ingdirect.it/wp-content/uploads/2013/01/bici-1.jpeg&lt;/ImageLocation&gt;
  &lt;/ProductImage&gt;
  </code></pre>
  
  <p>And this is the web service response (only the interesting part):</p>
  
  <pre><code>            &lt;Result&gt;
                  &lt;MessageID&gt;1&lt;/MessageID&gt;
                  &lt;ResultCode&gt;Error&lt;/ResultCode&gt;
                  &lt;ResultMessageCode&gt;5000&lt;/ResultMessageCode&gt;
                  &lt;ResultDescription&gt;XML Parsing Error at Line 2, Column 15: Found unexpected element &amp;apos;ProductImage&amp;apos; while parsing the start of this &amp;apos;AmazonEnvelope&amp;apos; document. Children of this element will be ignored by the parser..&lt;/ResultDescription&gt;
              &lt;/Result&gt;
  </code></pre>
  
  <p>I don't understand why he ignores the ProductImage tag, I'm following an example in the documentation and it should be fine.
  I'm sending the feed with <code>request.setFeedType("_POST_PRODUCT_IMAGE_DATA_");</code>
  Is it because I'm missing the Envelope part? I thought the java API did that, I had no problem with other feeds (even tough the product doesn't show in the sellecentral inventory).</p>
  
  <p>This was my POST_PRODUCT_DATA feed (the fist that I should be sending, not the one above) that returned with no errors:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;Product&gt;
      &lt;SKU&gt;ABCDORD0001&lt;/SKU&gt;
      &lt;LaunchDate&gt;2014-11-10T00:00:00.000+01:00&lt;/LaunchDate&gt;
      &lt;ReleaseDate&gt;2014-11-10T00:00:00.000+01:00&lt;/ReleaseDate&gt;
      &lt;Condition&gt;
          &lt;ConditionType&gt;New&lt;/ConditionType&gt;
      &lt;/Condition&gt;
      &lt;DescriptionData&gt;
          &lt;Title&gt;titolo_articolo&lt;/Title&gt;
          &lt;Brand&gt;brand_item&lt;/Brand&gt;
          &lt;Description&gt;descrizione_articolo_dett&lt;/Description&gt;
          &lt;ItemType&gt;sotto_categoria&lt;/ItemType&gt;
      &lt;/DescriptionData&gt;
      &lt;ProductData&gt;
          &lt;Sports&gt;&lt;/Sports&gt;
      &lt;/ProductData&gt;
  &lt;/Product&gt;
  </code></pre>
  
  <p>I hope someone can help.</p>