0 Replies Latest reply on Feb 15, 2008 8:49 AM by k0nG86

    Simple AMFphp

    k0nG86
      Hello all!

      I am trying to connect to AMFphp via it's gateway.php file, where i have php functions running.

      I have set up a services-config.xml and added it to the compiler runtime arguments.

      The code is here:

      <?xml version="1.0" encoding="UTF-8"?>
      <services-config>
      <services>
      <service id="amfphp-flashremoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
      <destination id="amfphp">
      <channels>
      <channel ref="my-amfphp"/>
      </channels>
      <properties>
      <source>*</source>
      </properties>
      </destination>
      </service>
      </services>
      <channels>
      <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
      <endpoint uri=" http://localhost/dataservices/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
      </channel-definition>
      </channels>
      </services-config>

      How do I make use of this? I want to send an array collection to the class "sample.setUsers()"

      Quite a flex newbie so any help would be much appreciated. Thanks!