<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无码专区国产乱码在线观看 | 7723日本高清完整版免费| 久久久久亚洲av无码专区蜜芽 | 黄网站在线播放视频免费观看| 女人被免费视频网站| 亚洲精品伦理熟女国产一区二区| 国产精品成人免费视频网站京东| 亚洲色丰满少妇高潮18p| 日本牲交大片免费观看| 免费精品久久久久久中文字幕| 亚洲精品无码日韩国产不卡?V| 国产激情久久久久影院老熟女免费| 奇米影视亚洲春色| 亚洲精品免费在线观看| 亚洲人成网站在线观看播放青青| 大地资源免费更新在线播放| 理论亚洲区美一区二区三区| 在线亚洲人成电影网站色www | 女人毛片a级大学毛片免费| 国产亚洲视频在线观看| 国产偷国产偷亚洲清高动态图| 午夜免费啪视频在线观看| 亚洲一欧洲中文字幕在线| 成人国产mv免费视频| jizz中国免费| 亚洲精品视频在线观看视频| 成年女人免费视频播放体验区 | 最近免费最新高清中文字幕韩国| 久久国产亚洲精品| 国产成人毛片亚洲精品| 最好看最新的中文字幕免费| 国产产在线精品亚洲AAVV| 亚洲午夜未满十八勿入| 暖暖免费高清日本中文| 国产免费拔擦拔擦8X高清在线人 | 免费91麻豆精品国产自产在线观看| 亚洲一区二区三区91| 中文字幕亚洲一区| 亚洲第一成年免费网站| 高清永久免费观看|