Flex3在应用RemoteObject出现问题解决方法
2013-08-22 18:14
405 查看
出现该问题
<mx:RemoteObject id="robj" destination="hello" endpoint="http://localhost:8080/Remote_Flex/messagebroker/amf" result="onResult(event)" fault="onFault(event)" showBusyCursor="true"/>
mxml文件没错的话,可以看下services-config.xml的<services>下面
<destination id="hello"> <properties> <source>tangyi.flex.HelloWord</source> </properties> <!-- <adapter ref="java-object" /> --> </destination>
这个节点的destination属性channels="amf"没配置,注意这里的amf对应的services-config.xml的AMF协议,如下
<channels> <channel-definition id="amf" class="mx.messaging.channels.AMFChannel"> <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> <properties> <polling-enabled>false</polling-enabled> </properties> </channel-definition> </channels>
当然也有可能是mxml文件中的RemoteObject的属性endpoint未配置
相关文章推荐
- Flex3在应用RemoteObject出现问题解决方法
- 关于python里运行出现'module' object has no attribute 'xxxx'等问题解决方法
- C#的WinForm程序应用了XP主题样式之后,ShowDialog方法出现问题的解决
- Win8/8.1系统metro应用中使用IE浏览器出现闪退问题的解决方法
- MyEclipse里调试DB2数据库的应用,出现连接不上问题解决方法。
- ubuntu中apt-get dpkg应用出现的问题及解决方法
- 开发新浪微博应用出现以下问题Fatal error:Call to undefined function curl_init() in错误的解决方法
- 解决Android应用冷启动时出现的白屏问题的方法
- sql 问题 select permission denied on object 'pb_userinfo',database 'Maching',owner'ado' 解决方法
- error LNK2011: precompiled object not linked in; image may not run 问题解决方法
- python错误:AttributeError: 'module' object has no attribute 'setdefaultencoding'问题的解决方法
- VS编译中出现 inline”之后应输入“(”错误问题解决方法
- phpmyadmin出现Cannot start session without errors问题解决方法
- 如何判断应用被强杀以及解决出现的空指针问题
- vs2010+silverlight开发 出现的问题以及解决方法
- 我用python将结果写入txt文件出现的编码问题及其解决方法
- 安装redis3.2集群出现的一些问题及解决方法
- HBase集群出现NotServingRegionException问题的排查及解决方法
- java 中JFinal getModel方法和数据库使用出现问题解决办法
- 从js向Action传中文参数出现乱码问题的解决方法