简体   繁体   English

建筑 SOAP Web 服务 API

[英]Building SOAP Web Service API

I have to write APIs using SOAP as a protocol.我必须使用 SOAP 作为协议来编写 API。 I was trying to figure out what the best solution is nowadays.我试图弄清楚当今最好的解决方案是什么。 As authentication I would need basic http authentication.作为身份验证,我需要基本的 http 身份验证。

I was looking at the possibilities regarding .NET (I'm open to other frameworks anyway).我正在研究有关 .NET 的可能性(无论如何我对其他框架持开放态度)。

I saw that there are two projects for .NET Core:我看到.NET Core有两个项目:

As for .NET I found:至于 .NET 我发现:

  • WCF WCF
  • ASMX ASMX

I wanted to understand which was the easiest way, if there are other services in .NET (or even other frameworks) considering that I am only interested in exposing SOAP endpoints with HTTP Basic Authentication考虑到我只对使用 HTTP 基本身份验证公开 SOAP 端点感兴趣,我想了解哪种方法是最简单的方法

I think your question is a good and sound one, however it is not on topic enough for stackoverflow;我认为您的问题是一个很好且合理的问题,但是对于stackoverflow来说,它的主题还不够; I mean the answer will be subjective and opinionated.我的意思是答案将是主观的和固执的。 So my advice is to check this with your development team or organisation.因此,我的建议是与您的开发团队或组织核实这一点。 Maybe there are some operations aspects to consider as well?也许还有一些运营方面需要考虑? If it entirely up you the try the different flavors and pick the one you like the most??如果完全由您决定,请尝试不同的口味并选择您最喜欢的口味? That is my subjective and opinionated answer!这是我主观和自以为是的答案!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM