purpose of the demo is to illustrate what can be done. It just so happens
that we're running it on the same server as the CF application is on. The
Flash will eventually be used on various site of our clients (on their
domains), and bounce through their servers to get the web service content.
So it needs to be able to connect to an arbitrary web service on an
arbitrary server platform.
cheers,
barneyb
> -----Original Message-----
> From: Brian LeRoux [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 04, 2004 1:20 PM
> To: CF-Talk
> Subject: RE: flash/web serivce integration
>
> I'm curious, why wouldn't you use Remoting if you're using ColdFusion?
> It can consume webservices and is faster at doing it...
>
>
> -----Original Message-----
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: February 4, 2004 9:24 AM
> To: CF-Talk
> Subject: OT: flash/web serivce integration
>
>
> This is quite offtopic, more centering on Flash, but y'all's
> so smart, I
> figured one of you could give me a nudge in the right direction.
>
> We recently rebuilt part of an old FuseBox 3 application to
> rely on CFCs
> for
> the entire data model so we could expose parts of it as web services.
> Now
> that that's done, I got the lucky assignment to build a very primitive
> example client in Flash. One of the requirements is that we use the
> WebServiceConnector in Flash MX'04, rather than remoting, and I'm
> struggling
> with how to map the results of the web service invocation into a
> ComboBox.
> I can do it just fine with this actionscript on the connector:
>
> On (result) {
> var list = path.to.combobox;
> for (var I = 0; I < this.results.length; i++) {
> list.addItem({label: this.results[i].title, data:
> this.results[i].cID});
> }
> }
>
> But I'd much rather use a DataHolder or DataSet because I
> need to reuse
> the
> data in a couple places, and I need to be able to switch the data out,
> and
> then return to the data again, and I'd like to avoid another remote
> call. I
> can get the data from connector to DataSet, and then to the ComboBox,
> but I
> can't select which fields are used for data and which are used for
> labels if
> I do it that way.
>
> If it's of any value, the web service is returning an array
> of structs.
>
> Much thanks for any pointers.
>
> Cheers,
> barneyb
>
> ---
> Barney Boisvert, Senior Development Engineer
> AudienceCentral
> [EMAIL PROTECTED]
> voice : 360.756.8080 x12
> fax : 360.647.5351
>
> www.audiencecentral.com
> _____
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

