Flex RPC错误小结

来源:互联网 发布:二里头 知乎 编辑:程序博客网 时间:2024/04/26 08:31

一、Flex Remoting

1.Channel definition, mx.messaging.channels.RTMPChannel, can not be found...:最新版的Fluorined在services-config.xml中新增了RTMP Channel,主要是用来配 置Flex Messaging,编译时需要FDS.swc支持,当然如果不需要此功能可以注释掉channel-definition这个节点。
2.RPC Fault faultString="The requested type... is not accessible":Flash Remoting服务名不对。详见Flash Remoting支持的远程服务。
3.RPC Fault faultString="Could not find a suitable method with name ..." :找不到对应的方法。首选看方法名对不对,再看方法的参数个数, 参数类型,还要检查返回数据的类型。关于数据的类型详见Flex AS3数据类型转换成Fluorine数据类型和 Fluorine .NET数据类型转换成Flex AS3数据类型。
4.NetConnection.Call.Failed: HTTP: Status 404: url...: '虚拟主机的域名/子目录/Gateway.aspx'":没将Root URL设置为虚拟主机的域名。详见Flex Bulider 2与Flash cs3的发布文件 。
5.RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed errorNetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost/Gateway.aspx...'": Root URL中包含的Context与Context root中设置的不一致。
6.[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048...: 安全沙箱冲突
7.RPC Fault faultString="MessagingError message='Destination 'fluorine' either does not exist or the destination has no channels defined (and the application does not define any default channels.)'" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'fluorine'"...:FluorineFX没配置或destination 没有定义channels(默认是fluorine),详见配置支持Fluorine Remoting的Web应用
8.ReferenceError: Error #1056: 无法为 ...创建属性...:当使用[RemoteClass(alias="XXX")],客户端与服务器端Value Object映射时属性名不一 致。


二、Http Service

1.faultCode:Server.Proxy.Request.Failed faultString:'HTTP/1.1 404 Not Found' faultDetail:'HTTP/1.1 404 Not Found':url错误。
2.faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP':不使用代理时遇到 安全沙箱冲突。
3.The URL specified XXX is not allowed by the selected destination 'DefaultHTTP:使用默认终端代理时遇到安全沙箱冲突。
4.No destination with id XXX is registered with any service/MessagingError message='Destination 'students' either does not exist or the destination has no channels defined (and the application does not define any default channels.)':.使用命名终端代理时,destination不一致。

原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 押金交了不租了怎么办 买车首付款不够怎么办 双11订金不退怎么办 在商场买到假货怎么办 网上买到假手机怎么办 网上买了假手机怎么办 网银转账被骗了怎么办 支付宝被骗了钱怎么办 被支付宝骗了钱怎么办 头发出油怎么办小妙招 照相的时候脸歪怎么办 怀孕两个月同床了怎么办 小姐被警察抓了怎么办 我的世界迷路了怎么办 砸到手指甲很痛怎么办 手被锤子砸肿了怎么办 拇指突然疼肿了怎么办 手指甲压紫了痛怎么办 砸到手指头肿了怎么办 小婴儿体重不长怎么办 2岁半宝宝不说话怎么办 米兰叶子掉光了怎么办 qq雷霆战机闪退怎么办 微信限额20万怎么办 欧拉方程x<0怎么办 柿子核吃下去了怎么办 橡胶底白色变黄怎么办 20了丁丁还很小怎么办 5角硬币吞进肚子怎么办 孩子吞了5角硬币怎么办 左腿比右腿微粗怎么办 一个腿长一个腿短怎么办 刚买的毛笔很硬怎么办 我哥哥太爱我了怎么办 如果婚姻无法维持该怎么办 捡了一只流浪狗怎么办 微博加载不出来怎么办 我的脾气很暴躁怎么办 歌单恢复已删除怎么办 家里破产了我该怎么办 对付有心计的人怎么办