Did you try doing this:
in the Additional Compiler Arguments:
--services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-
services.xml
Also make sure that this file has:

    <services>

        <service id="coldfusionsamples-service"
                 class="flex.messaging.services.RemotingService"
                 
messageTypes="flex.messaging.messages.RemotingMessage">

            <adapters>
                <adapter-definition id="cf-object" 
class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>
            </adapters>

            <destination id="ColdFusion">
                <channels>
                    <channel ref="my-cfamf"/>
                </channels>
                <properties>
                    <source>*</source>
                    <!-- define the resolution rules and access level 
of the cfc being invoked -->
                    <access>
                        <!-- Use the ColdFusion mappings to find 
CFCs, by default only CFC files under your webroot can be found. -->
                        <use-mappings>false</use-mappings>
                        <!-- allow "public and remote" or 
just "remote" methods to be invoked -->
                        <method-access-level>remote</method-access-
level>
                    </access>

                    <property-case>
                        <!-- cfc property names -->
                        <force-cfc-lowercase>false</force-cfc-
lowercase>
                        <!-- Query column names -->
                        <force-query-lowercase>false</force-query-
lowercase>
                        <!-- struct keys -->
                        <force-struct-lowercase>false</force-struct-
lowercase>
                    </property-case>
                </properties>
            </destination>

        </service>

    </services>

Let me know !!

Angelo



--- In [email protected], "Ryan Pieszak" <[EMAIL PROTECTED]> 
wrote:
>
> Hey Dirk,
> 
> Thanks for the reply.
> 
> I think I've gotten past this point, I can get the swf to compile 
and 
> load in the browser.  My problem is that it can't connect to the 
> CFC.  It tells me 'Unknown destination', that it cannot find the 
cfc.
> 
> I don't know if I have to predefine it in the flex-enterprise-
> services.xml file, and the reference some sort of ID, or if it's 
> completely created and connected to in the mxml file.
> 
> Thanks for the help.
> 
> 
> --- In [email protected], "Dirk Eismann" <DEismann@> 
> wrote:
> >
> > Make sure that when you create your Flex 2 Project in Flex 
Builder 
> to
> > choose "ColdFusion Flash Remoting Service". 
> > 
> > In the next step for "Root folder" specify the remote directory 
> where
> > CF's WEB-INF folder sits, i.e.
> > 
> >   \\dev-machine\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
> > 
> > in the field "Root URL" specify the URL where the remote CF 
webroot 
> maps
> > to, eg.
> > 
> >   http://dev-machine:8500
> > 
> > Before you can continue, hit "Validate Location" - this should 
give 
> you
> > a positive answer. In the next step choose any name for the 
project 
> (eg
> > "CFTest")
> > 
> > If everything is setup correctly, Flex Builder will create a 
folder 
> with
> > the same name as the project on the CF server. For the above 
> example the
> > URL will be http://dev-machine:8500/CFTest. All generated output 
> will be
> > automatically uploaded to the remote server.
> > 
> > That's pretty much it. If you run your Flex 2 app it should open 
> from
> > the remote server.
> > 
> > Dirk.
> > 
> > 
> > > -----Original Message-----
> > > From: [email protected] 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Pieszak
> > > Sent: Friday, April 07, 2006 2:51 PM
> > > To: [email protected]
> > > Subject: [flexcoders] Re: RemoteObject (Beta2)
> > > 
> > > Hey Matt,
> > > 
> > > Yeah, I've installed the CF/Flex Connectivity, but it is 
> > > still having trouble.  I think the problem is that most of 
> > > the installatin assumes that you're developing/deploying on 
> > > the same server (everything is set to localhost), but we 
> > > develop on our local pc's, test on the development server, 
> > > and then eventually post it live to the production server.  I 
> > > think this is pretty standard, but I can't find any 
> > > documentation on what to change to accomodate this.
> > > 
> > > Also, I think I'm on to something in my CFC post, but I need 
> > > some clarification...
> > > http://groups.yahoo.com/group/flexcoders/message/33505
> > > 
> > > Thanks.
> > >
> >
>






--
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/
 


Reply via email to