Using a soap service in net core

We need to use svcutil tool to generate client for a soap client in .net core. Install it from CLI using the command below.

dotnet tool install --global dotnet-svcutil

Then you can check the version by --help parameter.

dotnet-svcutil --help

to generate a client stub for a soap service, we may simply provide wsdl file/url to svcutil.

dotnet-svcutil https://web-site-url:port/service.wsdl