Forum Discussion

gary27709's avatar
gary27709
New Contributor
14 years ago

ColdFusion AMF Service

Greetings,

How do I make an AMF request to a ColdFusion 9/10 server?

I used charles and watched the requests, this is what I saw ..
Server: http://myserver.com:8500/
object: flex messaging.messanger.RemoteMessage
source: project.cf.facade.FunctionFacade
operation: getSomeUnsecuredData


How does this translate to Soap UI AMF request?
I tried several variants with

ENDPOINT:
http://myserver.com:8500/flex2gateway/
http://myserver.com:8500/flex2gateway/my-cfamf/

AMF Call:
project.cf.facade.FunctionFacade.getSomeUnsecuredData
project.cf.facade.FunctionFacade.getSomeUnsecuredData()
getSomeUnsecuredData
my-cfamf.project.cf.facade.FunctionFacade.getSomeUnsecuredData
my-cfamf.getSomeUnsecuredData
{aliases}.getSomeUnsecuredData

A working example would be very helpful. Thank you in advance and I understand that ColdFusion might not be the most popular Application Server around, so a delayed reply is acceptable.

Sometimes I get nothing, sometimes I get the following.
<string>No destination &apos; [NULL|Dotted.Path.Object.Notation]&apos; exists in service flex.messaging.services.RemotingService</string>

OR

flex.messaging.MEssageException: Unsupported AMF version 15464.code: AMFConnection.Call.Failed

2 Replies

  • gary27709's avatar
    gary27709
    New Contributor
    If you control the server it is possible to list the CFC in a named &lt;destination and then use that destination's name.

    What if you do not control the server, is it possible to use the dotted path from the webroot? This would be the Source of your Flex/Flash Remote object.
  • A working example would be very helpful. Thank you in advance and I understand that ColdFusion might not be the most popular Application Server around, so a delayed reply is acceptable.this is great!Wholesale Rc Helicopter Parts,you need it?




    ---------------------------------------------------------------------------------------
    Rc Helicopters|Wholesale Rc Helicopter Parts|Rc Helicopter