How to consume a WCF SOAP service in ASP.Net Core

Learn how to use the Microsoft Connected Services extension to consume a WCF SOAP service from ASP.Net Core

How to consume a WCF SOAP service in ASP.Net Core
Gremlin / Getty Images

Until REST APIs came along, SOAP (Simple Object Access Protocol) was the de facto standard protocol on which web services were based. When working in ASP.Net Core, you might well encounter the need to consume data from third-party or external services that use SOAP as the protocol and XML as the message exchange format.

In this article we will explore how we can consume a WCF (Windows Communication Foundation) SOAP service in ASP.Net Core.

Create a WCF SOAP service in Visual Studio 2017

WCF is a secure, reliable, and scalable messaging platform that provides a unified programming model for developing service-oriented applications in .Net. You can take advantage of WCF to build a SOAP service, using XML as the message exchange format, or a REST service, using JSON as the message exchange format.

To continue reading this article register now