I've already used amazon ECS with REST operations without any issue
in flex,
when i'm trying to send soap request I always get errors (usually AWS.
MissingParameters) from service , most probably because sending soap
body tags with wrong namespace (?),
maybe someone already tried amazon ecs with soap and can sheed some
light on that,
sample code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
width="100%" height="100%">
<!-- webservice -->
<mx:WebService id="amazonECS"
wsdl="http://webservices.amazon.com/AWSECommerceService/
AWSECommerceService.wsdl"
useProxy="false" showBusyCursor="true" >
<mx:operation name="ItemSearch" resultFormat="e4x" >
<mx:request xmlns:m="http://webservices.amazon.com/
AWSECommerceService/2005-03-23">
<m:ItemSearch>
<m:SubscriptionId>0525E2PQ81DD7ZTWTK82</
m:SubscriptionId>
<m:Request>
<m:ResponseGroup>ItemAttributes</
m:ResponseGroup>
<m:ResponseGroup>ItemIds</m:
ResponseGroup>
<m:Keywords>Flex RIA</m:Keywords>
<m:SearchIndex>Books</m:
SearchIndex>
</m:Request>
</m:ItemSearch>
</mx:request>
</mx:operation>
</mx:WebService>
<!-- view -->
<mx:TextArea id="txtResult" width="100%" height="100%" text
="{amazonECS.ItemSearch.lastResult}"/>
<mx:Button label="send" click="amazonECS.ItemSearch.send()"/>
</mx:Application>
docs:
http://docs.amazonwebservices.com/AWSEcommerceService/2005-03-23/
index.html
thanks in advance,
regards,
Peter Blazejewicz
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

