先看下异常信息:
(mx.messaging.messages::RemotingMessage)#0 body = (Array)#1 clientId = (null) destination = "" headers = (Object)#2 messageId = "9D7C932F-AFFA-26C1-F624-C1EA7B88DB1B" operation = "getAllClasses" source = (null) timestamp = 0 timeToLive = 0
从异常信息中可以发现destination值为空字符串,根本原因是配置文件remoting-config.xml中没有定义destination对应的调用目标。
比如
var classesDao : RemoteObject = new RemoteObject("ClassesDao");
到remoting-config.xml中查找destination标签Id为ClassesDao的声明,没有找到,所以报告如上异常信息。
推荐阅读
flex通过java后台获取ip和pcname示例代码
阅读 286 / 2020-03-03 17:30:40
flex内嵌html网页示例代码
阅读 283 / 2020-03-03 17:30:40
Flex弹出窗口请求Action函数示例
阅读 259 / 2020-03-03 17:30:39
flex利用webservice上传照片实现代码
阅读 256 / 2020-03-03 17:30:40
flex自定义按钮皮肤示例附图
阅读 246 / 2020-03-03 17:30:41
flex chrome浏览器调试出现空白的解决方法
阅读 243 / 2020-03-03 17:30:41
Flex中TitleWindow传值思路及实现
阅读 241 / 2020-03-03 17:30:38
Flex正则表达式判断中文或全角字符代码
阅读 240 / 2020-03-03 17:30:02