<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    JunXiu

    Flex RPC錯誤整理(轉載)

    最近不少網友反映使用Fluorine實現Flex與.NET通信老是出錯,原因肯定不一樣,為節約時間,我想有必要整理一下Flex RPC常見錯誤。此處先整理一下Flash Remoting方面的,后續會加上HTTP Service和Web Service的。

    一、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不一致。

    posted on 2010-08-11 08:35 junlin 閱讀(367) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     

    導航

    <2010年8月>
    25262728293031
    1234567
    891011121314
    15161718192021
    22232425262728
    2930311234

    統計

    常用鏈接

    留言簿

    隨筆分類

    隨筆檔案

    文章檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲AV无码AV吞精久久| 亚洲一区二区三区免费观看| 国产AV无码专区亚洲AV琪琪| 成年女人免费视频播放体验区| 亚洲欧洲综合在线| 18未年禁止免费观看| 亚洲免费在线观看视频| 人与禽交免费网站视频| 亚洲AV无码乱码在线观看代蜜桃 | 99久久久国产精品免费蜜臀| 亚洲色婷婷一区二区三区| 你懂的免费在线观看| 亚洲国产精品无码久久久不卡| 免费毛片a在线观看67194| 亚洲一区二区影视| 国产免费直播在线观看视频| 性生大片视频免费观看一级| 久久精品亚洲乱码伦伦中文| 人人玩人人添人人澡免费| 亚洲综合校园春色| 免费一看一级毛片| 最好免费观看高清在线| 亚洲国产成+人+综合| 成人免费无码精品国产电影| 一级人做人爰a全过程免费视频| 国产精品亚洲片在线| 日韩在线播放全免费| 337P日本欧洲亚洲大胆艺术图| 亚洲国产午夜中文字幕精品黄网站 | 中文文字幕文字幕亚洲色| 又大又粗又爽a级毛片免费看| 一区二区三区免费视频播放器| 亚洲Av综合色区无码专区桃色| 一个人看www在线高清免费看| 精品国产日韩亚洲一区91| 亚洲人成精品久久久久| 久久久久久国产a免费观看黄色大片| 国产亚洲精品国产福利在线观看| 亚洲深深色噜噜狠狠爱网站| 免费观看激色视频网站(性色)| 国产成人亚洲精品91专区高清 |