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

Flex与java交互出错

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


解决方法:右键Flex项目属性


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

Context Root--> /WebRoot
/WebRoot改成'/Flex(即/自己的项目名)',重新编译运行即可。

你可能感兴趣的:(Flex)