It's the FDS one you'll need to duplicate. why? Because it's the FDS one that 
doesn't support ColdFusion remoting so, you duplicate that file, add the 
ColdFusion destination, change the -service arg to point to the new file and 
compile it. Deploy it in FDS and you should be able to invoke DS destinations 
and use remoting pointing to your CF instance.

João Fernandes


-----Original Message-----
From: flexcoders@yahoogroups.com on behalf of Thomas Rühl -akitogo-
Sent: Tue 18-Jul-06 2:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] [Flex2, FDS] Configuring RPC
 

"When creating a new project, the services argument is set for you (go 
to "properties" then "flex compiler") but you can change this an point 
to any xml file so you can have your FDS with your Messaging, DS 
Destinations, http, etc and a copy of that with the additional 
destination for ColdFusion just for compiling purpose."

...so, a roadmap might be something like this:
* I make a copy of the services-config.xml. (The cf- or flex-version?)
* In the new file, I set up a destination named "Coldfusion" for dummy 
purpose and the compiler not to moan.
* In the project's properties, I select the duplicated file.
* And in the end, I let FlexBuilder publish everything on FDS anyway, right?

Sorry, but I feel a little unsafe here... ;-)

Regards, Thomas

------------------------------------
  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax     +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web     http://www.akitogo.com
  
------------------------------------



João Fernandes wrote:
>
> Thomas,
>
> you couldn't find documentation because there isn't :p
>
> Adobe launched a technote how to merge cf + fds but Tom Jordahl 
> doesn't like it very much.
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4f079a4d 
> <http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4f079a4d> but 
> in the merging web.xml from cf and flex you should keep the cf version 
> of the MessageBrokerServlet.
>
> The compile files, I mean, the flex-config.xml file where you define 
> your channels & destinations.
>
> When creating a new project, the services argument is set for you (go 
> to "properties" then "flex compiler") but you can change this an point 
> to any xml file so you can have your FDS with your Messaging, DS 
> Destinations, http, etc and a copy of that with the additional 
> destination for ColdFusion just for compiling purpose.
>
> João Fernandes
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> on behalf of Thomas Rühl -akitogo-
> Sent: Tue 18-Jul-06 1:15 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> Subject: Re: [flexcoders] [Flex2, FDS] Configuring RPC
>
>
> Hi João,
>
> thanks for the hints. Could you please please (with sugar on top of it
> ;-)) provide me with some more information about these two things....
>
> * How can I merge the files into a single one (without FDS throwing
> errors all the time)? -> tried that without success...
> * What do you mean "Duplicate the compile files"? The config's or mxml's?
>
> Is there a reliable documentation about these things? Everything I found
> seems somehow teared apart and I just don't get the big picture here...
>
> Thanks very much,
> Thomas
>
> ------------------------------------
>
> Thomas Rühl
> Design, Programming & Concepts
>
> akitogo OHG
> Hanauer Landstrasse 188
> 60314 Frankfurt
>
> Telefon +49 (0) 69 800 69 445
> Fax +49 (0) 69 800 69 449
> Mobil +49 (0) 179 750 75 87
> E-Mail [EMAIL PROTECTED] <mailto:thomas.ruehl%40akitogo.com>
> Web http://www.akitogo.com <http://www.akitogo.com>
>
> ------------------------------------
>
> João Fernandes wrote:
> >
> >
> > Thomas,
> >
> > To achieve this you have 3 ways ,in case you compile your app in the
> > builder but if you compile at the server only the 2 first will work:
> >
> > 1) Use a merged version of CF+FDS
> > 2) Create your RPC channel & destination at runtime (Mike Nimer gave
> > an example but can't remember where)
> >
> > this one will only work if it's the builder who compiles your app (and
> > not the server).
> > 3) Duplicate your compile file and in this one define your ColdFusion
> > destination so FDS doesn't know about it , then point the compile
> > argument to this one. FDS will use the regular one without the
> > "ColdFusion" destination and the builder will compile your app with no
> > problem.
> >
> > HTH,
> >
> > João Fernandes
> >
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> > on behalf of Thomas Rühl -akitogo-
> > Sent: Tue 18-Jul-06 12:15 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] [Flex2, FDS] Configuring RPC
> >
> >
> > Hi list,
> >
> > I need to configure an RPC service in Flex Data Services. In addition,
> > the desired application has to make use of a Messaging- and/or
> > DataManagement- Service of the FDS environment. For that, the 
> application
> > needs to run under FDS, so the RPC configuration should be made in the
> > Flax config files rather thatn inthe Coldfusion ones, right?
> >
> > How do I manage to do so? I mean, with the application hosted under
> > Coldfusion, I simply tell FlexBuilder to use ColdFusion with
> > FlashRemoting and it publishes the app in the wwwroot of Coldfusion.
> >
> > What I tried so far is to configure the Flex xml's just as the
> > Coldfusion ones (regarding channel and service definition), but it does
> > not find the adapter definition
> > coldfusion.flash. messaging.ColdFusionAdapter, because it lies in the
> > Coldfusion directories...
> >
> > Or is this a wrong attempt of mine? Is there a better (possibly right)
> > way to configure stuff?
> >
> > Cheers, Thomas
> >
> > ------------ ------------------------
> >
> > Thomas Rühl
> > Design, Programming & Concepts
> >
> > akitogo OHG
> > Hanauer Landstrasse 188
> > 60314 Frankfurt
> >
> > Telefon +49 (0) 69 800 69 445
> > Fax +49 (0) 69 800 69 449
> > Mobil +49 (0) 179 750 75 87
> > E-Mail [EMAIL PROTECTED] <mailto:thomas.ruehl%40akitogo.com> 
> <mailto:thomas.ruehl%40akitogo.com>
> > Web http://www.akitogo.com <http://www.akitogo.com> 
> <http://www.akitogo.com <http://www.akitogo.com>>
> >
> > ------------ ------------------------
> >
> >
>
>  



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to