Flash 连接到 WCF 服务 [英] Flash connecting to a WCF service

查看:32
本文介绍了Flash 连接到 WCF 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想就我的 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.

谢谢,基思·鲁尔

推荐答案

好吧,您应该从 webHttpBinding 自然你需要应用 webHttp行为也是如此.然后你只需要弄清楚你想要使用什么序列化格式.Flash 可以处理 JSON 或 XML,因此您需要决定您喜欢哪个,然后设置 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.

这篇关于Flash 连接到 WCF 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆