Re: [flexcoders] Need an easy way to dump XML results to a file?

2005-03-11 Thread Spike
What method are you using to retrieve the XML payload?
If you're using HTTPService you can specify the resultFormat as text 
which will just give you the raw text that came back from the server. 
You can then output that as you see fit.

Spike
dduuggllaa wrote:
It would be convenient when receiving an XML payload via a remote
service to be able to dump the returned it to a file for debuggin,
diagnostics, etc. Can someone suggest a simple way to do this? Perhaps
using mx:Model ? Thanks.
-Douglass



Yahoo! Groups Links




--

Stephen Milligan
Code poet for hire
http://www.spike.org.uk
Do you cfeclipse? http://cfeclipse.tigris.org



RE: [flexcoders] Need an easy way to dump XML results to a file?

2005-03-11 Thread Peter Farland
Have you tried turning on AMF Gateway debug-level logging? The AMF Gateway
processes RemoteObject requests on the Flex Server.

In /WEB-INF/flex/gateway-config.xml there's a logger element with a level
attribute. Set this attribute to Debug and restart the web app. If the
logging class is set to flex.services.logging.FlexGatewayLogger, then the
AMF gateway events will appear in the normal Flex logs.

I like to see Flex log events on the console, so I ensure that I have
console logging enabled in /WEB-INF/flex/flex-config.xml, but you can also
log to a file.



-Original Message-
From: dduuggllaa [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 11, 2005 2:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need an easy way to dump XML results to a file?




It would be convenient when receiving an XML payload via a remote service to
be able to dump the returned it to a file for debuggin, diagnostics, etc.
Can someone suggest a simple way to do this? Perhaps using mx:Model ?
Thanks.

-Douglass







Yahoo! Groups Links