Hello,
I have a configuration problem (I think!) using Flash Remoting.
 
I have installed JRun 4 on a server. I created a new server and I have deployed a ColdFusion J2EE inside it. I have remove the JRun Flash Remoting, so I can use only the ColdFusion Flash Remoting.
 
After that, I have deployed my Flex web application inside the new Jrun server. In the web.xml file (of my web application) I have added the Flex virtual mapping and the other Flex configuration tags. Flex application works correctly.
 
Inside the Flex application, I used the RemoteObject tag to connect to the Flash Remoting gateway, but it doesn't works.
 
Suppose I have the following situation:
 
 
In the web.xml file I have added the ColdFusion virtual mapping tags to use his Flash Remoting.
Calling http://my.web.site:8100/flashservices/gateway in a web browser it works.
 
The RemoteObject tag inside index.mxml is like this:
 
    <mx:RemoteObject id="test" source="components.interface" endpoint="http://my.web.site:8100/flashservices/gateway">
        <mx:method name="testCall" result="mx.core.Application.alert(event.result)" fault="mx.core.Application.alert(event.fault.faultstring)" />
    </mx:RemoteObject>
 
Of course I have a directory in the root of my web site that contains CFC files.
This directory is called "components".
 
 
When I try start this application, I get Flash Remoting error message: "Service threw an exception during method invocation: null".
 
 
What can I do now?
   
     1) I should try to use the amfgateway (if so, I don't know how to use it with the RemoteObject tag)
 
     2) I should try to use the WebService tag using the CFC component like a web service
 
     3) I must rewriteall the cfc components in Java
 
 
 
 
I need help as soon as possible.
Thanks
 
 

Alessio Prosperi
[EMAIL PROTECTED]
Adacto - anima digitale

------------------------------------------

Adacto s.r.l.
Via Chiarugi 158 50053 Empoli
Via Meda 45 20141 Milano
Telefono 0571-530234 Fax 0571-534294
Internet: www.adacto.it
E-mail: [EMAIL PROTECTED]

Reply via email to