<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Finding cover art with Flex and Amazon WebServices</title>
	<atom:link href="http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/</link>
	<description></description>
	<lastBuildDate>Tue, 20 Jul 2010 14:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sintara</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-7754</link>
		<dc:creator>Sintara</dc:creator>
		<pubDate>Fri, 06 Feb 2009 13:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-7754</guid>
		<description>&lt;p&gt;Thanks for making this available!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for making this available!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 2pha</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-5032</link>
		<dc:creator>2pha</dc:creator>
		<pubDate>Sat, 19 Jan 2008 03:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-5032</guid>
		<description>&lt;p&gt;ahhh.
I changed the aws:Namespace to awsNS:Namespace&lt;/p&gt;

&lt;p&gt;because there is also a aws:HTTPservice&lt;/p&gt;

&lt;p&gt;Everythings working now :)&lt;/p&gt;

&lt;p&gt;Thanks alot for sharing you code&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>ahhh.
I changed the aws:Namespace to awsNS:Namespace</p>

<p>because there is also a aws:HTTPservice</p>

<p>Everythings working now :)</p>

<p>Thanks alot for sharing you code</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-5028</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 18 Jan 2008 15:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-5028</guid>
		<description>&lt;p&gt;Hmm, when I look at the namespace it strikes me that Amazon regularly updates the namespace URI with a new date. Check the return data from ECS and see what the current namespace is, that might be the problem you&#039;re having.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hmm, when I look at the namespace it strikes me that Amazon regularly updates the namespace URI with a new date. Check the return data from ECS and see what the current namespace is, that might be the problem you&#8217;re having.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-5027</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 18 Jan 2008 15:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-5027</guid>
		<description>&lt;p&gt;Could it be some kind of namespace problem? I haven&#039;t used the code since I wrote this article, so I&#039;m not sure, but try to replace&lt;/p&gt;

&lt;p&gt;default xml namespace = aws;&lt;/p&gt;

&lt;p&gt;with&lt;/p&gt;

&lt;p&gt;use namespace aws;&lt;/p&gt;

&lt;p&gt;That might work better. Or do this:&lt;/p&gt;

&lt;p&gt;result.aws::Items.aws::Item.aws::SmallImage.aws::URL&lt;/p&gt;

&lt;p&gt;&quot;aws&quot; is the namespace which Amazon ECS uses, declared as&lt;/p&gt;

&lt;p&gt;namespace aws = &quot;http://webservices.amazon.com/AWSECommerceService/2005-10-05&quot;;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Could it be some kind of namespace problem? I haven&#8217;t used the code since I wrote this article, so I&#8217;m not sure, but try to replace</p>

<p>default xml namespace = aws;</p>

<p>with</p>

<p>use namespace aws;</p>

<p>That might work better. Or do this:</p>

<p>result.aws::Items.aws::Item.aws::SmallImage.aws::URL</p>

<p>&#8220;aws&#8221; is the namespace which Amazon ECS uses, declared as</p>

<p>namespace aws = &#8220;http://webservices.amazon.com/AWSECommerceService/2005-10-05&#8243;;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 2pha</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-5026</link>
		<dc:creator>2pha</dc:creator>
		<pubDate>Fri, 18 Jan 2008 15:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-5026</guid>
		<description>&lt;p&gt;I am having the same problem as above I think.&lt;/p&gt;

&lt;p&gt;the problem is with:&lt;/p&gt;

&lt;p&gt;var imageUrlNodes : XMLList =               (result.Items.Item.SmallImage.URL);&lt;/p&gt;

&lt;p&gt;tracing the xml before it is fine, it outputs the xml returned from amazon. But the items are not populating the XMLList for some reason.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am having the same problem as above I think.</p>

<p>the problem is with:</p>

<p>var imageUrlNodes : XMLList =               (result.Items.Item.SmallImage.URL);</p>

<p>tracing the xml before it is fine, it outputs the xml returned from amazon. But the items are not populating the XMLList for some reason.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-4689</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 20 Jul 2007 06:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-4689</guid>
		<description>&lt;p&gt;Hey, Thanks for your reply.&lt;/p&gt;

&lt;p&gt;I worked out my problem with Webservices. My problem was that in Flex builder 3 (beta, I might add) you can&#039;t just go 
AWS.ItemSearch.send(mySearchObject).  (*Note - you can in FB2)&lt;/p&gt;

&lt;p&gt;You have to go 
AWS.ItemSearch.arguments = mySearchObject; AWS.ItemSearch.send();&lt;/p&gt;

&lt;p&gt;FB3 does actually deserialize the result quite well when the resultFormat is &quot;object&quot;.&lt;/p&gt;

&lt;p&gt;I am now experimenting with the resultFormat &quot;e4x&quot; but I am having problems getting data out of the returned XMLList.&lt;/p&gt;

&lt;p&gt;All the examples I have looked at say to use:
var myXML:XMLList = event.result..Item;&lt;/p&gt;

&lt;p&gt;BUT this doesn&#039;t work. The data is there but the variable myXML becomes a null object, and no matter whether you are using HTTPService or WebService the e4x result is the same.&lt;/p&gt;

&lt;p&gt;I tried piecing together your code above. I couldn&#039;t get everything to compile because the Dictionary component is missing... but I tried your line ( var args : XMLList = event.result.OperationRequest.Arguments;) on the HTTPService result and that didn&#039;t work either.&lt;/p&gt;

&lt;p&gt;Is there something I&#039;m missing?&lt;/p&gt;

&lt;p&gt;I&#039;ve got the webservice part to work fine. I just can&#039;t seem to successfully parse the &quot;e4x&quot; results in flex.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey, Thanks for your reply.</p>

<p>I worked out my problem with Webservices. My problem was that in Flex builder 3 (beta, I might add) you can&#8217;t just go 
AWS.ItemSearch.send(mySearchObject).  (*Note &#8211; you can in FB2)</p>

<p>You have to go 
AWS.ItemSearch.arguments = mySearchObject; AWS.ItemSearch.send();</p>

<p>FB3 does actually deserialize the result quite well when the resultFormat is &#8220;object&#8221;.</p>

<p>I am now experimenting with the resultFormat &#8220;e4x&#8221; but I am having problems getting data out of the returned XMLList.</p>

<p>All the examples I have looked at say to use:
var myXML:XMLList = event.result..Item;</p>

<p>BUT this doesn&#8217;t work. The data is there but the variable myXML becomes a null object, and no matter whether you are using HTTPService or WebService the e4x result is the same.</p>

<p>I tried piecing together your code above. I couldn&#8217;t get everything to compile because the Dictionary component is missing&#8230; but I tried your line ( var args : XMLList = event.result.OperationRequest.Arguments;) on the HTTPService result and that didn&#8217;t work either.</p>

<p>Is there something I&#8217;m missing?</p>

<p>I&#8217;ve got the webservice part to work fine. I just can&#8217;t seem to successfully parse the &#8220;e4x&#8221; results in flex.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-4639</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Mon, 16 Jul 2007 07:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-4639</guid>
		<description>&lt;p&gt;Can&#039;t remember now, but it might have been the same error that made me give it up an use the REST interface instead. There is one part of the request that is supposed to be a &quot;complex type&quot;, probably one of those keys must be present in that for it to work, but since Flex doesn&#039;t serialize the complex type right the key isn&#039;t there.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Can&#8217;t remember now, but it might have been the same error that made me give it up an use the REST interface instead. There is one part of the request that is supposed to be a &#8220;complex type&#8221;, probably one of those keys must be present in that for it to work, but since Flex doesn&#8217;t serialize the complex type right the key isn&#8217;t there.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-4638</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 16 Jul 2007 02:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-4638</guid>
		<description>&lt;p&gt;I also have had an issue trying to communicate with AWS using soap.&lt;/p&gt;

&lt;p&gt;It does seem to connect ok.. but I keep getting an error back saying that my ItemSearch request needs to define at least one of these parameters: AWSAccessKeyId, SubscriptionId... but I have!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I also have had an issue trying to communicate with AWS using soap.</p>

<p>It does seem to connect ok.. but I keep getting an error back saying that my ItemSearch request needs to define at least one of these parameters: AWSAccessKeyId, SubscriptionId&#8230; but I have!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-4611</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Tue, 03 Jul 2007 09:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-4611</guid>
		<description>&lt;p&gt;Sorry, I never pursued the matter further. Amazon&#039;s REST interface was much easier to work with.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry, I never pursued the matter further. Amazon&#8217;s REST interface was much easier to work with.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Maz</title>
		<link>http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/comment-page-1/#comment-4606</link>
		<dc:creator>Maz</dc:creator>
		<pubDate>Mon, 02 Jul 2007 11:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/06/10/finding-cover-art-with-flex-and-amazon-webservices/#comment-4606</guid>
		<description>&lt;p&gt;Seems that Flex2 (even Moxie) do not handle too complex ComplexTypes... (particularly WSDL types with attributes in addition to elements)&lt;/p&gt;

&lt;p&gt;If you work out anything, tell me :)&lt;/p&gt;

&lt;p&gt;maz.spam_AT_gmail_DOT_com (replace words between underscores)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Seems that Flex2 (even Moxie) do not handle too complex ComplexTypes&#8230; (particularly WSDL types with attributes in addition to elements)</p>

<p>If you work out anything, tell me :)</p>

<p>maz.spam_AT_gmail_DOT_com (replace words between underscores)</p>]]></content:encoded>
	</item>
</channel>
</rss>
