Question: how wsdl file is generated?
Answer: Enter a name for the file. The name must comply with the rules for the NCName data type. ... 
(Optional) Change the default folder by clicking Browse and selecting the new folder.
Enter the target namespace for the WSDL file. The target namespace will appear in the root element.
Select the WSDL Type. ... 
Click Next.