ASP.NET的WebAPI +肥皂 [英] ASP.NET WebAPI + Soap

查看:179
本文介绍了ASP.NET的WebAPI +肥皂的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否支持的WebAPI SOAP?我试图写MVC4一个SOAP服务器和虽然我可以在WCF做到这一点似乎是的WebAPI更换,但我看不出有什么办法利用这个SOAP然而,使用REST风格界面只是JSON / XML。

Does WebAPI support SOAP? I'm trying to write a SOAP Server in MVC4 and whilst I can do it in WCF it seems that WebAPI is replacing this but I see no ways to utilize SOAP in this yet, just JSON / XML using a REST Style interface.

推荐答案

要引用斯科特·格思里:在过去几年中已经看到的Web API的崛起 - 服务暴露在普通HTTP,而不是通过一个更正式的服务合同(如SOAP或WS *)。

To quote Scott Guthrie: The last few years have seen the rise of Web APIs - services exposed over plain HTTP rather than through a more formal service contract (like SOAP or WS*).

所以,我说没有。

这篇关于ASP.NET的WebAPI +肥皂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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