[flexcoders] What is the results of a web service

2009-01-21 Thread Wally Kolcz
I am having fits trying to figure out how to use the information coming back from a webservice. I created a web service call in my code: mx:WebService id=storyGateway wsdl=http://www2.med.umich.edu/prmc/media/newsroom/stories.cfc?wsdl; fault=Alert.show(event.fault.message,'Story Gateway

Re: [flexcoders] What is the results of a web service

2009-01-21 Thread Adrian Williams
Hi Wally, Any particular reason you are not setting a resultFormat on your mx:operation? For example: mx:operation name=service resultFormat=object result=serviceResult(event)/ Adrian Wally Kolcz wrote: I am having fits trying to figure out how to use the information coming back

Re: [flexcoders] What is the results of a web service

2009-01-21 Thread Wally Kolcz
Thanks. Totally forgot about the resultFormat. So used to using RemoteObjects, but we have Blue Disaster(opps, Dragon) here at the U. From: Adrian Williams adri...@familytreedna.com Sent: Wednesday, January 21, 2009 9:47 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] What is the results of a web service

2009-01-21 Thread Tracy Spratt
First, on the operation, set resultFormat=e4x. The default object has many drawbacks, search the archives for details. Then modify your handler to work with XMLListCollection [Bindable]public var storyFeed:XMLListCollection; public function buildBookHandler(e:ResultEvent):void { var

RE: [flexcoders] What is the results of a web service

2009-01-21 Thread Tracy Spratt
object' is the default. Don't use it. See my other post. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Wednesday, January 21, 2009

Re: [flexcoders] What is the results of a web service

2009-01-21 Thread Wally Kolcz
Well, still getting the same error. From: Wally Kolcz wko...@isavepets.com Sent: Wednesday, January 21, 2009 9:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] What is the resultsgeof a web