This project is read-only.
To work with a WCF AMF service from a C# client, you will need to modify your configuration file to contain the following extensions, behaviors, and bindings:
        <add name="amfExtensions" type="WcfFlashRemoting.ServiceModel.Configuration.AmfEnablingElement, WcfFlashRemoting, Version=, Culture=neutral, PublicKeyToken=null"/>
        <add name="amfMessageEncoding" type="WcfFlashRemoting.ServiceModel.Configuration.AmfBindingElementExtensionElement, WcfFlashRemoting, Version=, Culture=neutral, PublicKeyToken=null"/>
        <behavior name="amfBehave">
          <amfExtensions />
        <binding name="amfBinding">
          <amfMessageEncoding />
          <httpTransport manualAddressing="false" />

Once those configuration elements are added, create a new endpoint:
      <endpoint address="http://localhost:3900/WebHost/Example6.svc/amf"
        behaviorConfiguration="amfBehave" binding="customBinding" bindingConfiguration="amfBinding"
        contract="Example6Service.ICalculatorContract" name="AmfBinding_ICalculatorContract" />

Be sure to modify the endpoint address and contract to correspond to your service and make the name unique.

There is currently no supported way to access a non-WCF AMF endpoint using WCF Flash Remoting.

Last edited Oct 20, 2009 at 10:52 PM by mdekrey, version 2


rogeriomc Apr 11, 2010 at 6:34 PM 
Hi Matthew!

According to the 7 examples and the last paragraph in this section, is not possible to use the WCF Flash Remoting component to expose an AMF endpoint and consume using a Flex/Flash client. Is it correct?


Rogério Moraes de Carvalho