Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder.
BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -----Original Message----- From: [email protected] on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: [email protected] Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc <http://servername/mappedName/services/app/service.cfc> . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway <http://servername/flashservices/gateway> . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: [email protected] Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was "/remote/RemoteService.cfc", then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc <http://servername/remote/RemoteService.cfc> If you do that, you can now call the CFC as a remote object: <mx:RemoteObject id="remote" endpoint=" <http://servername/flashservices/gateway> http://servername/flashservices/gateway" source="remote.RemoteService"/> The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _____ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: [email protected] <mailto:[email protected]> Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _____ From: [email protected] <mailto:[email protected]> [mailto: <mailto:[email protected]> [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: [email protected] <mailto:[email protected]> Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway "/amfgateway" see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -----Original Message----- From: [email protected] <mailto:[email protected]> on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: [email protected] <mailto:[email protected]> Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -----Original Message----- From: [email protected] <mailto:[email protected]> [mailto: <mailto:[email protected]> [EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: [email protected] <mailto:[EMAIL PROTECTED]> Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway <Http://server/flashservices/gateway> be Http://server/{cfcontextRoot}/flashservices/gateway <Http://server/%7BcfcontextRoot%7D/flashservices/gateway> ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In [email protected] <mailto:[email protected]> , "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > > When I run the cfc from coldfusion, it runs just fine. It doesn't work when > I run it through my Remote Object from Flex. > > Flash Remoting is not configured for the CF instance that runs on IIS, which > is why Http://server/flashservices/gateway <Http://server/flashservices/gateway> doesn't work. I found this link > > http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co <http://www.macromedia.com/support/flashremoting/ts/documents/iis_gateway_co > > nnection.htm > > but I can't find the connectors.bat files anywhere on the server. > > Agha Mehdi > IDT - eBusiness Program Manager > > > -----Original Message----- > From: [email protected] <mailto:[email protected]> [mailto: <mailto:[email protected]> [EMAIL PROTECTED] On > Behalf Of joao_m_fernandes > Sent: Monday, January 30, 2006 3:09 PM > To: [email protected] <mailto:[email protected]> > Subject: [flexcoders] Re: FlashServices/Gateway > > Can you send a bit of your code? how are you calling your CFC? > > > João Fernandes > Secção de Desenvolvimento > Departamento de Informática > > --- In [email protected] <mailto:[email protected]> , "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > > > > I am seeing this error in the logs: > > > > ================================================== > > [Flash Remoting MX]->Request received was not Flash-based (not of > the binary > > AMF protocol). > > ================================================== > > > > when I try to access http://<server>/flashservices/gateway. The > server is > > CF. > > > > Please let me know how to fix it. > > > > Thanks > > > > Agha Mehdi > > IDT - eBusiness Program Manager > > Work: 408.284.8239 > > Cell : 209.275.0482 > > Fax : 408.284.2766 > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com <http://www.mail-archive.com/flexcoders%40yahoogroups.com> > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com <http://www.mail-archive.com/flexcoders%40yahoogroups.com> Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com <http://www.mail-archive.com/flexcoders%40yahoogroups.com> SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice _____ YAHOO! GROUPS LINKS * Visit your group " <http://groups.yahoo.com/group/flexcoders> flexcoders" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms <http://docs.yahoo.com/info/terms/> of Service . _____ -- Paul Kenney [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.pjk.us <http://www.pjk.us> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com <http://www.mail-archive.com/flexcoders%40yahoogroups.com> _____ YAHOO! GROUPS LINKS * Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms <http://docs.yahoo.com/info/terms/> of Service .. _____ -- Paul Kenney [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.pjk.us <http://www.pjk.us> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com <http://www.mail-archive.com/flexcoders%40yahoogroups.com> SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice _____ YAHOO! GROUPS LINKS * Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! <http://docs.yahoo.com/info/terms/> Terms of Service. _____ -- 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>>

