flex中endpoint的作用是什么?
endpoint
<channel-definition id="my-amf" />
????
??????? </channel-definition>
??????? <channel-definition id="my-secure-amf" -context-root "/flexWeb"???????
?? services-config.xml 需要放在当前目录下,或者指定BlazeDS所在的配置文件路径。
2. 在 <mx:RemoteObject/> 对象中指定Endpoint参数:
???? 例如:?
??? Xml代码
<mx:RemoteObject id="roOrder" destination="Hello" showBusyCursor="true" endpoint="http://server:8080/flexWeb/messagebroker/amf">
<mx:RemoteObject id="roOrder" destination="Hello" showBusyCursor="true" endpoint="http://server:8080/flexWeb/messagebroker/amf">
?说明:1) 全路径:????????? endpoint="http://server:8080/flexWeb/messagebroker/amf" >
?????? 2) 基于contextRoot: endpoint="/flexWeb/messagebroker/amf" >
?????? 3) 基于当前路径:?? endpoint="messagebroker/amf" >
??