This is probably a hack, but what you can do is:

1. Create a directory called WEB-INF in ColdFusion's wwwroot in IIS. 
By default C:\Inetpub\wwwroot\

2. Copy the flex directory and contents, including
services-config.xml, from C:\CFusionMX7\wwwroot\WEB-INF\ to the
WEB-INF directory you created in step 1.

3. Open your Flex Project in Flex Builder, make sure to go to the
Project Properties --> Flex Compiler and set the following Additional
Compiler Option: 
-services "C:\Inetpub\wwwroot\WEB-INF\flex\services-config.xml"

4. In step three make sure to verify/change the physical path to match
your IIS-based cfroot if you are not using the default C:\Inetpub\wwwroot

That's what worked for me...

-Jun

--- In [email protected], "Seth Hodgson" <[EMAIL PROTECTED]> wrote:
>
> This fault on the client is indicating that the client-side Channel
> wasn't able to connect to the server-side endpoint. Take a look at the
> <channel-definition> in your config file and make sure that the endpoint
> URI defined there is actually reachable in a browser.
> 
>  
> 
> Best,
> Seth
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of kjlinboomer
> Sent: Tuesday, August 15, 2006 11:49 AM
> To: [email protected]
> Subject: [flexcoders] Flex 2 ColdFusion Apps with IIS and Virtual
> directories.
> 
>  
> 
> Hello,
> 
> I am trying to set up a Flex2 app that calls CFCs via the new remoting
> gateway. I am using ColdFusion integrated with IIS and virtual
> directories. I am able to compile the application but cant call any
> CFCs living in an IIS virtual directory. I receive the following error:
> 
> faultCode:Client.Error.MessageSend 
> faultString:'Send failed' 
> faultDetail:'Channel.Connect.Failed 
> error NetConnection.Call.Failed: HTTP: Failed'
> 
> Now, I have set up all the proper mappings in CF, enabled mappings in
> the services-config file and am sure my remoteObject mxml code is
> correct. I'm thinking I might need to change something in the channel
> setup in the services-config file but really cant find any
> documentation on it. 
> 
> I am able to run apps and connect to CFCs fine when I have the
> standalone version of ColdFusion installed and CFCs living in the CF
> wwwroot. 
> 
> Has anybody been able to connect to CFCs in Flex2 with ColdFusion
> integreated with IIS and virtual directories?
>





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