--- Douglas Knudsen <[EMAIL PROTECTED]> wrote:

> Two questions I'd ask first are: does myService.cfc live in /test ? 
yes

> Does
> your servers service-config.xml allow remote access or public only?
>
default service-config.xml (I haven't made any changes)here it is:

<!-- allow "public and remote" or just "remote" methods to be invoked
-->                       
<method-access-level>remote</method-access-level>
 

Jim


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