闪存连接到WCF服务闪存、连接到、WCF

2023-09-08 11:03:48 作者:无地放屎

我想请求指导正确的端点配置为我的WCF服务,以使Flash应用程序来使用它。

I would like ask for guidance on the proper endpoint configuration for my WCF service to enable a Flash app to consume it.

谢谢, 基思·鲁尔房屋

Thanks, Keith Rull

推荐答案

那么你应该开始一个的的WebHttpBinding ,自然需要应用的 webHttp行为为好。然后你只需要弄清楚你要使用什么样的序列化格式。 Flash可以做到JSON或XML,所以你需要你决定preFER,然后将 ReqeustFormat / ResponseFormat 的的 WebInvokeAttribute 它们应用到你的操作。

Well you should start with a webHttpBinding and naturally you need to apply the webHttp behavior as well. Then you just need to figure out what serialization format you want to work with. Flash can do JSON or XML, so you need to decide which you prefer and then you set the ReqeustFormat/ResponseFormat properties of the WebInvokeAttribute which are applied to your operations.