Flash connecting to a WCF service

纵然是瞬间 提交于 2019-11-28 01:46:28

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/1614157/flash-connecting-to-a-wcf-service

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