Depending on how you are compiling the setup is a bit different. For instance in beta3 I think you can start project and specify that its a ColdFusion remoting application.  What this does for you is set thet -services compiler directive.  With earlier betas (and possibly if you picked the wrong project on b3) in the properties for the project you can add a line for compiler that is the path to the flex-enterprise-services.xml that is in your cf that has been updated with Mystic.  it would look something like

-services=c:\cfmx7\wwwroot\WEB-INF\flex\flex-enterprise-services.xml

If you are using the command line compiler or Ant you will also need to pass in that same config options but a bit differently.

Hope that helps.

simeon


On 5/13/06, Kevin Roche <[EMAIL PROTECTED]> wrote:
I have a problem when calling a CFC from Flex 2 Beta 3.

When I use :

&lt;mx:RemoteObject id="phoneService"
            destination="ColdFusion"
            result="event.call.resultHandler(event)"
            fault="event.call.faultHandler(event)"
            showBusyCursor="true"
source="com.mycompany.phones.service.PhoneService" /&gt;

I get a message when the app starts saying that it cant find ColdFusion. It seems that the flex-enterprise-services.xml doesn't have the definition for ColdFusion in it.

What should have been added?

Can I add it manually?

I am using a CFMX 7 Multiserver configuration with the flex server on port 8700.

Kevin Roche




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 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






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 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




Reply via email to