If we have a WSDL file and we want to create the C# proxy class we can use the svcutil.exe (Windows SDK ServiceModel Metadata Utility Tool).
Suppose we have saved the WSDL file InteropService.wsdl into the folder C:\Tmp.
We can execute this command to create the C# proxy class:
“C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools\svcutil.exe” “C:\Tmp\InteropService.wsdl” /t:code /l:c# /o:”C:\Tmp\InteropService.cs” /n:*,NamespaceName