Are you using Flex Builder? You are probably just not setting your project
up correctly. Check out this tutorial I wrote that was part of a bigger
project but this step walks you through a basic setup.

http://www.danvega.org/blog/index.cfm?mode=entry&entry=9927B08A-3FF4-37A0-036DDF334317ACB5

Thank You
Dan Vega
[email protected]
http://www.danvega.org


On Wed, Jan 14, 2009 at 4:34 PM, Ian Skinner <[email protected]> wrote:

> I am playing again with Flex after over a year off.  I set up a new
> project and was proud of myself that I got one set up in just two tries.
>
> I can properly serve up simple, static Flex applications.  So I moved on
> to connecting to my ColdFusion for the back end.  When I run it now I
> get this error when I try to call the ColdFusion component.
>
> [RPC Fault faultString="Send failed"
> faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed
> error NetConnection.Call.Failed: HTTP: Failed: url:
> 'http://localhost/playground/flex2gateway/'"]
>
> "http://localhost/playground/flex2gateway/"; is not a valid URL. The
> proper path to the Flex project is "http://localhost/flex/playground/";.
> But this does not have a 'flex2gateway' under it.  I am not sure what
> this means.
>
> I presume I have something missing in my configurations, but I am not
> sure what.  Google searching has told me to look at the compiler
> arguments of my project:
> -services
>
> "C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\services-config.xml"
> -locale en_US
>
> This seems to be correct.  That is the location of my ColdFusion server.
>
> Google results also tell me to look at the endpoint in my
> services.congig.xml file.  But which one?  There are several in there
> and I don't see any that are "ColdFusion" as I sort of expected from my
> RemoteObject MXML tag.
>    <mx:RemoteObject
>        id="cfc"
>        destination="ColdFusion"
>        source="cfcs.foobar">
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5659
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to