0 Replies Latest reply on May 15, 2007 1:42 PM by toofless

    RemoteClass (to CFC) and Messaging

    toofless Level 1
      I've got a value object in class my Flex application that has a RemoteClass declaration, mapping to a ColdFusion CFC in a different web app. Everything works great.

      The problem I'm having now is when I attempt to send an instance of this class (wywo.CallVO.cfc on the coldfusion server, vo.CallVO.as in my Flex application's root directory) over as a message body, as in:

      msg.body = callVO;
      producer.send(msg);

      I get the following message from the console:

      Exception in RtmpReader thread: flex.messaging.MessageException: Cannot create class of type 'wywo.CallVO'. Type 'wywo.CallVO' not found.
      flex.messaging.MessageException: Cannot create class of type 'wywo.CallVO'.
      Type 'wywo.CallVO' not found.
      at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:57)
      ...
      ...

      The problem seems to be that the messaging subsystem has no knowledge of the coldfusion server (my remote objects are connecting through a different coldfusion destination).

      Is there a way to get this working giving the current configuration?

      TIA,
      Joe