|
I have been trying to integrate a
flex application into a Coldfusion application. I first developed a standalone
flex application in Flex Builder 2.0, which worked fine. I then imbedded the
SWF file into a page on my Coldfusion application and moved the CFC’s
into the application. The application runs on another instance of Coldfusion. I
have configured the additional compiler arguments in Flex builder 2.0 to point
to the new server instance: -services "C:\JRun4\servers\{server
name}\cfusion.ear\cfusion.war\WEB-INF\flex\services-config.xml" -locale
en_US also I have changed the flex server root: C:\JRun4\servers\{server name}\cfusion.ear\cfusion.war\ All CFC paths have been updated to reflect
the new locations. When the app runs the SWF has a button that
calls a function of a remote object, which returns a string to be displayed
(very simple), but all I get back is an error: fault:Channel.Call.failed faultString: error faultDetail:’NetConnection.Call.Failed:
HTTP: Failed’ On the server side I can see the client communicating
with the server and then an error is thrown: [Flex] HttpFlexSession has not been
registered as a listener in web.xml for this application so no e vents will be dispatched to
FlexSessionAttributeListeners or FlexSessionBindingListeners. To correct this, register
flex.messaging.HttpFlexSession as a listener in web.xml. 18/08 11:03:08 error No configured channel
has an endpoint path '/flex2gateway/index.cfm'. flex.messaging.MessageException: No
configured channel has an endpoint path '/flex2gateway/index.cfm '. Can anyone point me in the right direction,
maybe some documentation? Thanks, Justin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- [flexcoders] flex2gateway error, Coldfusion and Flex inter... Justin Chetwynd
- RE: [flexcoders] flex2gateway error, Coldfusion and F... João Fernandes

