Are you sure that /amfgateway is mapped to your Flex AMF GatewayServlet in /WEB-INF/web.xml and not a coldfusion one? Have you used a sniffer to try and watch where your SWF is trying to call - i.e. tracking down host names, ports, context roots, what have you...
 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Crane
Sent: Friday, October 14, 2005 5:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] RemoteObject call to POJO on JRUN

One more thing that I should mention is that Flex and Coldfusion are installed on separate JRun server instances.

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Crane
Sent: Friday, October 14, 2005 7:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RemoteObject call to POJO on JRUN

 

Ok, I have again resumed trying to figure out how to get a call to a Remote Java object working.  I posted a previous message on this topic, but was not able to get a working answer.  The PROBLEM: When calling a java class located in {contextroot}\classes\com\obc I get a response of Service threw an exception during method invocation: no service named com.obc.User known to Flash Remoting MX.  BACKGROUND:  Flex installed on a Coldfusion MX integrated JRun4 server.  The remote-object section of the flex-config file contains the following

<remote-objects>

        <amf-gateway>{context.root}/amfgateway</amf-gateway>

 

       <amf-https-gateway>{context.root}/amfgateway</amf-https-gateway>

 

        <allow-url-override>false</allow-url-override>

 

       <whitelist>

            <!-- whitelist config for unnamed objects -->

            <unnamed>

                <source>*</source>

 

MORE BACKGROUND:  I can make a successful call to a coldfusion component as a webservice using <mx:RemoteObject>

 

It seems to me that somehow there is a conflict with the remoting gateway for coldfusion and the one for flex, but I really am not sure how to fix it if it is actually what is causing the problem. If anyone has experienced this problem, or knows of a solution I really appreciate your suggestions.

 

Thanks,

Jeremy




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to