House of Fusion
Home of the ColdFusion Community

Search flex

October 07, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  Adobe Flex 2

Flex, remote called CFC's and mappings

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ian Skinner
03/21/2008 01:18 PM

Is there some difference in how a CFC that is accessed remotely sees ColdFusion mappings? The following line in a simple CFM template works just as expected.  It instantiates a component and I am off and running utilizing its methods.  'common_cfc' is a ColdFusion mapping that points D:\common\cfc.  This directory is NOT under the site's web root of d:\intranet_apps\tools\general\wwwroot\. createObject("component","/common_cfc/ldap_security/ldap") When I put this line into a CFC that is utilized remotely by a Flex application I am getting this error: "Unable to invoke CFC - Could not find the ColdFusion Component or Interface /common_cfc/ldap_security/ldap."

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Gareth Arch
03/21/2008 01:45 PM

You may need to change this line in your services-config.xml file <use-mappings>true</use-mappings> to see the mappings in CF. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ian Skinner
03/21/2008 04:06 PM

Gareth Arch wrote: > You may need to change this line in your services-config.xml file > > <use-mappings>true</use-mappings> > > to see the mappings in CF. Ok, and if I don't find a <use-mappings> node in any of my four service-config.xml files?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Gareth Arch
03/21/2008 10:40 PM

Then try the remoting-config.xml file.  (I'm on CFMX7 and everything's in the one file there) ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
03/25/2008 05:49 AM

> Then try the remoting-config.xml file.  (I'm on CFMX7 and everything's in > the one file there) CF8 with LCDS splits them up. -- Tom Chiverton Helping to advantageously lead real-time initiatives 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ian Skinner
03/25/2008 12:27 PM

Gareth Arch wrote: > Then try the remoting-config.xml file.  (I'm on CFMX7 and everything's in the one file there) Thank you, that did the trick. Ian


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists