Personal tools

Views

Talk:ColdFusion/Flex Connectivity:Samples:Phone Selector

From Adobe Labs

Image:Example.jpg


I've tried this tutorial and when main.mxml is compiled, I get the following:

Error: code:InvokeFailed string:'Error: Unknown destination 'ColdFusion'.' detail:'Couldn't establish a connection to 'ColdFusion at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::invoke() at mx.rpc.remoting.mxml::Operation/http://www.macromedia.com/2005/flex/mx/internal::invoke() at mx.rpc.remoting::Operation/send() at mx.rpc.remoting.mxml::Operation/send() at mx.rpc::AbstractService/http://www.macromedia.com/2005/actionscript/flash/proxy::callProperty() at Main/___Application1_creationComplete() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/mx.core:UIComponent::dispatchCreationCompleteEvent() at mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispatchCreationCompleteEvents() at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()

Any ideas?

[edit]

Same error

Any feedback from the pros?

Here is my URL: http://development/CFIDE/samples/Phones/Flex/bin/Main.html

CF/test.cfm works fine...

Any way to test the CF adapter installation? (CF version is 7.0.2 now) Installed over working alpha adapter config.


One thing to check is to make sure you've entered the compiler argument (--services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-services.xml) for the project. I tend to forget that one a lot.

--AnoPres 18:20, 7 Feb 2006 (PST)


You need to add the -services= compiler argument to your flex project. Check the release notes for the exact syntax.

hth, ---nimer

They should update the article with the compiler information to make it easier for the first timer. Jens

[edit]

Trouble Getting Phone Samples to Work

Having trouble getting the Phone Sample to work. I'm trying to run on another server so I changed the end point to server url.

I just get blank panels and the Show Details Button. Spinning Clock...

Browser Status bar indicates Transferring data from 10.3.xx.xx .....

I get this error in the debugger

RangeError: Error #2006: The supplied index is out of bounds.

TypeError: Error #1009: null has no properties. at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::faultHandler()[C:\dev\enterprise_beta2\frameworks\mx\messaging\channels\AMFChannel.as:362]

Any Ideas

Thanks in advance Doug Kronenberger dougla.kronenberger@med.va.gov

Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:ColdFusion/Flex_Connectivity:Samples:Phone_Selector"