首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

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

2012-10-29 
RPC Fault faultStringSend failed faultCodeClient.Error.MessageSendFlex访问时报错解决方案:[RPC

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="Send failed" faultCode="Client.Error.MessageSend"

?

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   求帮忙啊,我现在遇到这个问题,试了许多种方法,还是不能解决啊~快崩溃了!

热点排行