RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-21 Thread Peter Farland



Have you tried adding a format=xml attribute to the mx:request tag as well? Normally this section is akin to an mx:Model tag with named keys but when you're specifying the XML literally you need to inform the compiler.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson
Sent: Saturday, May 20, 2006 12:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

There are some old posts on the board about this. Basically there is a conflict with the WebService flex classes and the Request parameters required by Amazon. The WebService flex classes overrides any Request parameter you set and therefore you get the error.

The only want around it would be to create a new WebService class that doesn't conflict with the Request variable.

links to old posts:
http://groups.yahoo.com/group/flexcoders/message/34246
http://www.cflex.net/flexcoders.cfm?Message=msg25454.html
http://groups.yahoo.com/group/flexcoders/message/34866

Renaun

--- In flexcoders@yahoogroups.com, Peter Blazejewicz
[EMAIL PROTECTED] wrote:

 Hello everyone,
 
 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:SubscriptionId0525E2PQ81DD7ZTWTK82/
 m:SubscriptionId
  m:Request
   m:ResponseGroupItemAttributes/ m:ResponseGroup
   m:ResponseGroupItemIds/m:
 ResponseGroup
   m:KeywordsFlex RIA/m:Keywords
   m:SearchIndexBooks/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







 Yahoo! Groups Sponsor ~-- Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 









--
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.



  











RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-21 Thread Peter Farland



>From earlier versions of Flex? I just noted this wasn't mentioned in the
docs in Flex 2 and have logged a bug.

Thanks,
 Pete

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Blazejewicz
Sent: Sunday, May 21, 2006 12:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags
[FB2b3]

Hi Peter,

worked :D
where have you learnt that? 
I would never think about that myself,

thanks,
regards,
Peter

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
wrote:

 Have you tried adding a format=xml attribute to the mx:request
tag as well? Normally this section is akin to an mx:Model tag with
named keys but when you're specifying the XML literally you need to
inform the compiler.







 Yahoo! Groups Sponsor ~--
Protect your PC from spy ware with award winning anti spy technology.
It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 









--
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.



  












[flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-20 Thread Renaun Erickson



There are some old posts on the board about this. Basically there is
a conflict with the WebService flex classes and the Request parameters
required by Amazon. The WebService flex classes overrides any Request
parameter you set and therefore you get the error.

The only want around it would be to create a new WebService class that
doesn't conflict with the Request variable.

links to old posts:
http://groups.yahoo.com/group/flexcoders/message/34246
http://www.cflex.net/flexcoders.cfm?Message=msg25454.html
http://groups.yahoo.com/group/flexcoders/message/34866

Renaun

--- In flexcoders@yahoogroups.com, Peter Blazejewicz
[EMAIL PROTECTED] wrote:

 Hello everyone,
 
 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:SubscriptionId0525E2PQ81DD7ZTWTK82/
 m:SubscriptionId
  m:Request
   m:ResponseGroupItemAttributes/
 m:ResponseGroup
   m:ResponseGroupItemIds/m:
 ResponseGroup
   m:KeywordsFlex RIA/m:Keywords
   m:SearchIndexBooks/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.



  












[flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-20 Thread Peter Blazejewicz



Hello Renaun,

many thanks for getting back :D 

to Adobe: are there plans to relese source for mx.rpc.* classes?

regards,
Peter

--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] 
wrote:

 There are some old posts on the board about this. Basically there 
is
 a conflict with the WebService flex classes and the Request 
parameters
 required by Amazon. The WebService flex classes overrides any 
Request
 parameter you set and therefore you get the error.
 
 The only want around it would be to create a new WebService class 
that
 doesn't conflict with the Request variable.
 
 links to old posts:
 http://groups.yahoo.com/group/flexcoders/message/34246
 http://www.cflex.net/flexcoders.cfm?Message=msg25454.html
 http://groups.yahoo.com/group/flexcoders/message/34866
 
 Renaun













--
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.



  












RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-20 Thread Matt Chotin



We're not planning on releasing source to the RPC classes right now, sorry.

I've filed a bug on the Amazon issue, I spent about an hour debugging and can't figure it out so far so I'll see if the engineers can look into it :-)

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
Sent: Saturday, May 20, 2006 9:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

Hello Renaun,

many thanks for getting back :D 

to Adobe: are there plans to relese source for mx.rpc.* classes?

regards,
Peter

--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] 
wrote:

 There are some old posts on the board about this. Basically there 
is
 a conflict with the WebService flex classes and the Request 
parameters
 required by Amazon. The WebService flex classes overrides any 
Request
 parameter you set and therefore you get the error.
 
 The only want around it would be to create a new WebService class 
that
 doesn't conflict with the Request variable.
 
 links to old posts:
 http://groups.yahoo.com/group/flexcoders/message/34246
 http://www.cflex.net/flexcoders.cfm?Message=msg25454.html
 http://groups.yahoo.com/group/flexcoders/message/34866
 
 Renaun










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








--
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.



  












[flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-20 Thread Peter Blazejewicz



Hello Matt,

thanks for info and filling it out,
regards,
Peter

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 We're not planning on releasing source to the RPC classes right 
now, sorry.
 
 I've filed a bug on the Amazon issue, I spent about an hour 
debugging and can't figure it out so far so I'll see if the engineers 
can look into it :-)
 
 Matt










--
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.