Generating web service reference and C# classes from WSDL and XSD files
If you’re given WSDL files, you can generate your web service reference and C# classes with the following command in cmd dotnet svcutil SomeService.wsdl –namespace “*,SampleProject.SomeService” In case you’re only given XSD files to work with, you can generate C# classes with the following command “C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\xsd.exe” /c SomeService.xsd /n:SampleProject.SomeService