User753101303 posted
Hi,
Try https://docs.microsoft.com/en-us/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe if you want to do this "by
hand"
Usually the WSDL is exposed by the service itself ofen by appending ?wsdl to the service url (might need to be enabled). You are using WCF ?
Edit: ah what you generate from the WSDL file is a client to use the service described by this WSDL file. I would not even have thought to try to generate a WSDL document from client classes. You can't get the WSDL document from the service
for which you generated this client ?