Tutorial 1, services-config.xml


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <services-config>
  3. <services>
  4. <service id="amfphp-flashremoting-service"
  5. class="flex.messaging.services.RemotingService"
  6. messageTypes="flex.messaging.messages.RemotingMessage">
  7.  
  8. <destination id="amfphp">
  9. <channels>
  10. <channel ref="my-amfphp"/>
  11. </channels>
  12. <properties>
  13. <source>*</source>
  14. </properties>
  15. </destination>
  16. </service>
  17. </services>
  18. <channels>
  19. <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
  20. <endpoint uri="/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
  21. </channel-definition>
  22. </channels>
  23. </services-config>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.