How to overcome “No destination with id '<destination id>' is registered with any service”

牧云@^-^@ 提交于 2021-02-10 18:10:12

问题


I am looking for suggestion about the error called

"No destination with id '<destination id>' is registered with any service."

this error is coming when I try to connect the remote method in Java from flex.


回答1:


I suppose you have not synchronized your remoting-config.xml of server and client version. The server version just hasn't this destination there.




回答2:


The solution for "No destination with id '' is registered with any service" problem is that you have to make sure your destination definition is added in your:

C:\ColdFusion9\wwwroot\WEB-INF\flex\messaging-config.xml

Secondly, if you are deploying it on a ColdFusion Server, then you have to make sure exact same definition is added in Server messaging-config.xml file as well.

This should solve this problem.

While we are at it, wanted to point another possible gotcha.

if your Server is using SSL protocol i.e. it has https:// rather than http://, Then within your definition block in messaging-config.xml, you have to add appropriate secure channels in section. You can find all available channel definitions in

C:\ColdFusion9\wwwroot\WEB-INF\flex\services-config.xml



来源:https://stackoverflow.com/questions/5976246/how-to-overcome-no-destination-with-id-destination-id-is-registered-with-an

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!