Two questions I'd ask first are: does myService.cfc live in /test ?  Does
your servers service-config.xml allow remote access or public only?

DK

On 2/1/07, Jim Cassata <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Having a bit of trouble. CFMX 7.0.2 on both a test linux server and my
> dev desktop. I build a flex project with coldfusion flash remoting. it
> works locally, but won't work when I move the files to the linux
> server. both servers configured basically default and working fine. app
> paths are the same for dev and test.
>
> The error:
>
> An Actionscript Error has occurred:
>
> [RPC Fault faultString="flex/messaging/io/amf/UnknownTypeException"
> faultCode="Server.Processing" faultDetail="null"]
>         at
>
> mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler
> ()
>         at mx.rpc::Responder/fault()
>         at mx.rpc::AsyncRequest/fault()
>         at
>
> ::NetConnectionMessageResponder/NetConnectionChannel.as$40:NetConnectionMessageResponder::statusHandler()
>         at mx.messaging::MessageResponder/status()
>
> test.mxml:
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="vertical">
> <mx:RemoteObject destination="ColdFusion" id="cfservice"
> source="test.myService"/>
> <mx:Button label="Call ColdFusion" click="cfservice.helloworld()"/>
> <mx:Label text="{cfservice.helloworld.lastResult}" fontSize="18"/>
> </mx:Application>
>
> myService.cfc:
> <cfcomponent extends="Service">
> <cffunction name="helloworld" access="remote" returntype="string">
> <cfreturn "hello from Windows">
> </cffunction>
> </cfcomponent>
>
> Any ideas? I am hoping this is a simple noob thing I am doing wrong.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3536
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