Hello Corey and DK,
I am using something like what Corey is doing. I send a URL via an
HTTPService which responds with an XML file. This seems to work very
well.
I am so new to Flex that I don't know the right way to phrase my
questions but I am learning. :-)
Here is how I send a request:
<mx:HTTPService id="chartManagerService"
url="http://localhost/Magic94Scripts/mgrqispi94.dll"
method="POST"
useProxy="false"
result="getResult(event)">
<mx:request>
<appname>Flex_Demo</appname>
<prgname>user_charts</prgname>
<arguments>param1,param2</arguments>
<param1>{param1.text}</param1>
</mx:request>
</mx:HTTPService>
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Corey Osman
Sent: Friday, January 23, 2009 9:44 AM
To: [email protected]
Subject: Re: [AFFUG Discuss] ESRIA Flex Dashboard
I am using xmlrpc which is like soap. It sends an xml document with the
data that was requested. Its pretty simple. On one side I have the
simplexmlrpc service that gathers data and then "return data" to the
caller. The code formats all the xml for me and sends it across the
wire. On the flex side I receive it as a String, Array, or Struct.
Corey
On Jan 23, 2009, at 9:34 AM, Douglas Knudsen wrote:
Not sure what you mean by 'streaming XML' but it would be rather trivial
to point the app to a server based XML file instead of a locally baked
in version. Ooops! My bad, its not baked in, even more trivial then.
You change the URL to your server's URL.
So, remains to be seen what you mean by streaming. If you mean live
streaming data where the UI just reacts to new data coming in without a
user gesture, your talking about needing LCDS or some such to handle
RTMP, not so trivial.
DK
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
On Fri, Jan 23, 2009 at 8:49 AM, Frank Griffin <[email protected]>
wrote:
Has anyone modified the ESRIA Dashboard from using static XML files to
using streaming XML from an HTTPService?
http://examples.adobe.com/flex3/labs/dashboard/main.html#
<http://examples.adobe.com/flex3/labs/dashboard/main.html>
Thanks!
Frank
-------------------------------------------------------------
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 FusionLink <http://www.fusionlink.com>
-------------------------------------------------------------
-------------------------------------------------------------
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 FusionLink <http://www.fusionlink.com>
-------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------