connectivity, but I'm running into problems.
Here's the story so far:
- I have a local developer environment set up for CF
(C/:ColdFusionMx7) with a mapping to a remote datasource.
- I have IIS setup to run (C:Inetpub/wwwroot) with a mapping to a www
directory for my test site.
- I downloaded and stuffed the eclipse extensions for CF the plugin
and feature and site.xml additions into the respective paths under
c:Program Files/Adobe/etc... (one copy per location, although I see
that there are also plugin and feature folders in the
com.adobe.flexbuilder.update.site and I did not copy the jar files to
them)
- I also download and installed the cf_flexconnect_B3_win_0428.exe
which ran and said it installed fine.
Next steps:
- found the flex-enterprise-services.xml and set the
<disabled>false</disabled> for the webServices.
- got RDS to connect successfully
- successfully was able to use the wizard to create a CFC from an
existing table
- was able to get the window>otherview>Coldfusion Services>Show Web
services to interogate the above mentioned CFC by manually adding it
with the (+) plus button.
- created a new project with ColdFusion Flash Remoting Services
- set up a simple app that is supposed to interrogate my CFC which is
located in the components directory of my locally served test site
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.*;
import mx.rpc.*;
import mx.utils.*;
private function showUser( event:Object ):void{
Alert.show(ObjectUtil.toString(event.result));
}
private function showFault( event:Object ):void{
Alert.show(ObjectUtil.toString(event.fault));
}
]]>
</mx:Script>
<mx:RemoteObject id="testCFC" destination="ColdFusion"
source="components.storecategory" result="showUser(event)"
fault="showFault(event)" />
<mx:Button id="test" label="getSome" click="testCFC.load(100000)" />
</mx:Application>
But when I run the application, I get the following fault statement:
(mx.rpc::Fault)#0
description = "Send failed"
detail = "Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Failed"
errorID = 0
faultcode = "Client.Error.MessageSend"
faultCode = "Client.Error.MessageSend"
faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Failed"
faultstring = "Send failed"
faultString = "Send failed"
message = "faultCode:Client.Error.MessageSend faultString:'Send
failed' faultDetail:'Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed'"
rootCause = (Object)#1
code = "NetConnection.Call.Failed"
description = "HTTP: Failed"
details = "http://localhost/flex2gateway/"
level = "error"
Reading through some of the wiki chatter, I've seen reference to a
flex-services.xml which I do not have. And setting the endpoint nugget
for the flex2gateway. I do have a flex-enterprise-services.xml (as
mentioned above).
So bottom line here is I'm missing something. If anyone could point me
in the right direction, or needs further clarification on my local
setup and installations, please let me know.
Thanks in advance.
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

