2 Replies Latest reply on May 15, 2007 12:14 PM by Mike B Baker

    Problem changing from Flash Remoting to Webservice

    Mike B Baker
      I have an application using flash remoting with the Flash Remoting enabled under the Flex option on the CF administrator. I need to move this application to a server which had flash remoting but not the new Flex option enabled.

      The CFC returns a query, when I use FlashRemoting from http://hostname/flex2gateway/ the event.result is returned as an ArrayCollection (which is what I want as I am adding it to a datagrid, however when I change it to webservice the event.result is of type Array. When I use flash remoting changing the endpoint to http://hostname/flashservices/gateway
      I get an TypeError: Error #1034: Type Coercion failed: cannot convert Object@4e2a4c1 to mx.messaging.messages.ErrorMessage.

      Basically I need to know how call a webservice or flashremoting using the http://hostname/flashservices/gateway which will return a query for use with a datagrid. If anyone can give me a bit of guidance I would appreciate it.