Calling SOAP Services from .NET: dotnet-svcutil, the WCF Client, WS-Security, Certificates and Resilience
You call a SOAP service from .NET through the interface dotnet-svcutil generates from the WSDL, your own binding and a ChannelFactory; resilience belongs at the operation level, not the HTTP level, because SOAP faults arrive with HTTP 500 and WCF calls take no CancellationToken. In Bookstore we send institutional invoices to a fake e-invoice integrator with a UsernameToken and mTLS, and make retries safe with the invoice's ETTN.
15 Nov 2026
·
13 min
·
10