Question: why wsdl file is used?
Answer: The WSDL specification provides an XML format for documents for this purpose. ... WSDL is often used in combination with SOAP and an XML Schema to provide Web services over the Internet. A client program connecting to a Web service can read the WSDL file to determine what operations are available on the server.