Try changing your return type to string in cf. You will then have to force flex to parse the xml and create a new XML() instance. When you are using HTTPService, you would probably also have to change the format attribute--there may be something similar for WebService.
On Tue, Oct 7, 2008 at 10:00 AM, <[EMAIL PROTECTED]> wrote: > Is it possible to send a raw xml file back to flex from a remote cfc? > > The flex app is on a site that requires the use of webservice. > > I can send back and array of structs of arrays and access the data from a > remote webservice, but what I really want to do is send back and xml file > that can be read like a flex local xml file with the source being the > returned xml file from the remote call. Trying to match the structure of > local xml file with the remote version > > I know that just publishing a wsdl in CF creates the xml structure. > CF dump of the xml version valid as is the array version, but this is in cf > and I don't think that flex is reading the xml version as a raw xml file. > > Flex app if you care to read further: > flex app that loads a tile list via local xml file. > location information in tile list has one sort and two filter functions. > Remote call passes in zipcode and miles parameters. > Remote call returns same xml structure that match the criteria. > I am lazy and don't want to loop through the array version. > I just want to read the remote return as an xml source so I can just use > the same custom item renderer. > > RL > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > > -- Scott Talsma CTO, echoEleven ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
