读书人

RPC Fault faultString=quot;Send failedquot;

发布时间: 2012-10-29 10:03:53 作者: rapoo

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: /工程名

?

RPC Fault faultString=

?

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>

1 楼 kookaisen 2012-05-07 求帮忙啊,我现在遇到这个问题,试了许多种方法,还是不能解决啊~快崩溃了!

读书人网 >网络基础

热点推荐