Re: [flexcoders] FDS services-config for CFC's
Darren, When you install fds (example c:\fds) you'll find a folder resources\config inside it. This is where you can find an example for each file you'll have to configure FDS. This is a FDS configuration and not a CF one. The only thing you'll need to do in the cf side, is to activate the data management support inside the admin. Be aware that cfcs must be visibles to the cf instance so if you deploy them into IIS or Apache website, you'll have to create a mapping so the cfusion instance can resolve the cfcs paths. in services-config.xml you'll find the code you'll need to have to enable cf channels to comunicate with a CF instance services-config code -- !-- ColdFusion specific RTMP channel -- channel-definition id=cf-dataservice-rtmp class=mx.messaging.channels.RTMPChannel endpoint uri=rtmp://{server.name}:2048 class=flex.messaging.endpoints.RTMPEndpoint/ properties idle-timeout-minutes20/idle-timeout-minutes serialization !-- This must be turned off for any CF channel -- instantiate-typesfalse/instantiate-types /serialization /properties /channel-definition !-- ColdFusion specific HTTP channel -- channel-definition id=cf-polling-amf class=mx.messaging.channels.AMFChannel endpoint uri=http://{server.name}:{server.port}/{context.root}/messagebroker/cfamfpolling; class=flex.messaging.endpoints.AMFEndpoint/ properties serialization !-- This must be turned off for any CF channel -- instantiate-typesfalse/instantiate-types /serialization polling-enabledtrue/polling-enabled polling-interval-seconds8/polling-interval-seconds /properties /channel-definition - in the data-management-config .xml you'll have to use coldfusion-dao adapter and use it in your cf data-management destinations and use cf-dataservice-rtmp and cf-polling-amf as channels, take a look at the last destination (cfcompany). If you want to use flex messaging gateway, you'll find how to configure it in the messaging-config.xml. You'll have to use the cfgateway adapter definition. At the end of the file, you'll find the ColdFusionGateway destination. HTH, João Fernandes
Re: [flexcoders] FDS services-config for CFC's
On Friday 09 Mar 2007, Darren Houle wrote: You don't install FDS on Coldfusion 7.0.2, it includes built in support for FDS with CFCs It does ?!? You're not confusing FDS with plain Remoting are you ? -- Tom Chiverton Helping to augmentatively restore compelling markets On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
Re: [flexcoders] FDS services-config for CFC's
From: Tom Chiverton [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FDS services-config for CFC's Date: Fri, 9 Mar 2007 14:34:19 + On Friday 09 Mar 2007, Darren Houle wrote: You don't install FDS on Coldfusion 7.0.2, it includes built in support for FDS with CFCs It does ?!? You're not confusing FDS with plain Remoting are you ? I don't think so. In the 7.0.2 CFIDE (CF Administrator) if you click Data Services and then Flex Integration you get a page with several settings. There are two checkboxes at the very top... Enable Flash Remoting support This enables a Flash client to connect to this ColdFusion server and invoke ColdFusion Components (CFCs). If you are not using this feature, it is recommended that it be disabled. Enable Flex Data Management support This enables Flex Data Services to connect to this ColdFusion server and use ColdFusion Components (CFCs) as the implementation for the reading and updating of data that supports a Flex application. If you are not using this feature, it is recommended that it be disabled. and the CFIDE help file for this admin page adds this... Enable Flash Remoting support Specifies whether to enable Flash clients to connect to this ColdFusion server and invoke methods in ColdFusion components (CFCs). Enable Flex Data Management support Specifies whether to enable a Flex Data Services server to connect to this ColdFusion server and invoke methods in CFCs to fill, sync, get, or count records in a result set used in a Flex application. I see fill and Flex Data Services and CFC's, so... If I'm misunderstanding something then someone *please* correct me. Is FDS in there already, or does this just allow CF to talk to an FDS app but you still have to install something somewhere? From what I understand CF is a big java app that can be installed on an existing instance of JRun, or else by default CF installs on a bare server with it's own internal JRun, so... if you wanted to install FDS express on CF you wouldn't use the integrated JRun version because then you'd have two JRun's... but you could install FDS as a J2EE app on your existing JRun... IF... the CFIDE didn't have those checkboxes under Flex Integration to confuse things. So... I'm *assuming* I can use the Flex Builder Extensions to view RDS, select a database and table, click Generate CFCs, create the assembler, dao, and bean, drop them in my CF site, enable the FDS checkbox in CFIDE, and then... what? I need to map some things in the services-config.xml file. Do I specify an adapter? or just the service-to-assembler cfc path? *Something* has to be mapped, right? If I could just get an example / sample services-config.xml where someone is using FDS with CF CFCs I'd be fine. Darren
Re: [flexcoders] FDS services-config for CFC's
On Friday 09 Mar 2007, Darren Houle wrote: Enable Flex Data Management support This enables Flex Data Services to connect to this ColdFusion server So if I don't have FDS installed, it does nothing. -- Tom Chiverton Helping to continually incentivize industry-wide markets On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
Re: [flexcoders] FDS services-config for CFC's
Data management option in the CF admin is just to allow CF to be contacted by a FDS server. No FDS is integrated with CF. Install FDS express and look at those resources/config folder that I mentioned before. There is everything you'll need. João Fernandes
Re: [flexcoders] FDS services-config for CFC's
Okay, but... install it how, where? Not using the integrated JRun server, right, because CF is already running on an app server, right? So where do you unpack the fds war file? Into which directory under the CF Enterprise install? Darren From: João Fernandes [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FDS services-config for CFC's Date: Fri, 09 Mar 2007 16:06:06 + Data management option in the CF admin is just to allow CF to be contacted by a FDS server. No FDS is integrated with CF. Install FDS express and look at those resources/config folder that I mentioned before. There is everything you'll need. João Fernandes -- 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 Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/
Re: [flexcoders] FDS services-config for CFC's
Darren, if you use CF Enterprise, create a new instance, stop the instance, delete the cfusion-ear. Install FDS as j2ee app, then uncompress the flex.war file into cfusion-install-dir/servers/createdInstance then start the instance. You also can install FDS express with integrated Jrun, there is no problem with that. João Fernandes On 09 Mar 2007 10:51:35 -0800, Darren Houle [EMAIL PROTECTED] wrote: Okay, but... install it how, where? Not using the integrated JRun server, right, because CF is already running on an app server, right? So where do you unpack the fds war file? Into which directory under the CF Enterprise install? Darren From: João Fernandes [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FDS services-config for CFC's Date: Fri, 09 Mar 2007 16:06:06 + Data management option in the CF admin is just to allow CF to be contacted by a FDS server. No FDS is integrated with CF. Install FDS express and look at those resources/config folder that I mentioned before. There is everything you'll need. João Fernandes -- 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 -- 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 -- João Fernandes
Re: [flexcoders] FDS services-config for CFC's
Darren, When you install FDS you'll get a resource folder, inside you have what you're looking for. João Fernandes
Re: [flexcoders] FDS services-config for CFC's
You don't install FDS on Coldfusion 7.0.2, it includes built in support for FDS with CFCs, but there's no instructions or sample files anywhere that describe how to configure the services-config.xml destination or what (if any) adapter to use. Darren From: João Fernandes [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FDS services-config for CFC's Date: Thu, 08 Mar 2007 22:33:22 + Darren, When you install FDS you'll get a resource folder, inside you have what you're looking for. João Fernandes -- 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 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/