`

RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"

阅读更多

Flex访问时报错解决方案:

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost:8080/***/messagebroker/amf'"]

 

解决方案:

1、首先看看这里的配置:选择项目右键属性--》Flex Server

     Root URl: 到端口处

     Context root: /工程名

 

 

2:还有种情况我这是发现只有IE8报这个错,其他浏览器没有报:

解决方案:添加endpoint属性:指向:endpoint=“http://localhost:8080/项目名/messagebroker/amf”,如果

是直接通过action跳转来的:可以省略“http://localhost:8080/项目名/”这些,便于移植!

 

<mx:RemoteObject id="srv" destination="businessDiagramService"  endpoint="http://localhost:8080/项目名/messagebroker/amf">

</mx:RemoteObject>

  • 大小: 26.8 KB
0
8
分享到:
评论
1 楼 kookaisen 2012-05-07  
求帮忙啊,我现在遇到这个问题,试了许多种方法,还是不能解决啊~快崩溃了!

相关推荐

Global site tag (gtag.js) - Google Analytics