I'm not sure what e4x is. Here is my webservice declaration. It returns a query from a ColdFusion web service (Flex=ArrayCollection, I think).
<mx:WebService id="get_home_list" wsdl="http://imd9.state.or.us/ex/bcd/loisflex/lois.cfc?WSDL" useProxy="false" showBusyCursor="true" > <mx:operation name="qry_get_home_list"> <mx:request> <q_home_id>0</q_home_id> </mx:request> </mx:operation> </mx:WebService> Thanks. Fred --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Sure. Are you using e4x? Post your WebService tag declaration. > > > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Ben Marchbanks > Sent: Tuesday, January 02, 2007 2:30 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Examining web service results structure > > > > Hey Tracy, > > Can you elaborate more on exactly how you would do > this ? sample snippet..... > > You gave me the same advice in my attempt to count > the records returned from a request. > > Thanks > > Ben Marchbanks > > Tracy Spratt wrote: > > Don't bind directly to lastResult. Instead, use a result handler > > function, to which you have passed the event object. In that fuction, > > you can examine event.result at will. > > > > > > > > If you are using resultFormat="e4x", use toXMLString(). If you are > using > > the default object resultFormat, then you need to find out how to dump > > the object. > > > > > > > > Tracy > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of fgwenger > > Sent: Tuesday, January 02, 2007 1:37 PM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Examining web service results structure > > > > > > > > I wondered if there was a way in Flex debug or somewhere in Flex to > > see how it sees the object returned from a web service call. I am > > consuming a web service that I don't have control of and it is sending > > back some structure. I can't tell what it looks like to Flex, so I > > can't get the DataGrid's DataProvider path correct, e.g. > > MyWS.MyMethod.LastResult.... then what? > > > > Thanks. > > > > > > > > >