amfphp1.9和amfphp2.2,1差别
1,services-config.xml 该配置文件的不同 ,主要是<endpoint uri的差别
1.9:<?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='amfphp1'>
<channels>
<channel ref='amfphp2'/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id='amfphp2' class='mx.messaging.channels.AMFChannel'>
<endpoint uri='http://localhost:8080/amfphp/gateway.php'
class='flex.messaging.endpoints.AMFEndpoint'/>
</channel-definition>
</channels>
</services-config>
2.2.1,<?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='amfphp1'>
<channels>
<channel ref='amfphp2'/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id='amfphp2' class='mx.messaging.channels.AMFChannel'>
<endpoint uri='http://localhost:8080/amfphp-2.2.1/amfphp/index.php'
class='flex.messaging.endpoints.AMFEndpoint'/>
</channel-definition>
</channels>
</services-config>
2,查看服务器中方法
1.9 http://127.0.0.1:8080/amfphp/browser/
2.1 http://127.0.0.1:8080/amfphp-2.2.1/BackOffice/ServiceBrowser.php