Xem một tập tin WSDL và thử nghiệm một dịch vụ web WSDL là viết tắt của Web Ngôn ngữ mô tả dịch vụ, và một tập tin WSDL chứa một mô tả đầy đủ các dịch vụ Web của bạn, bao gồm các thông tin cần thiết để gọi các phương pháp của dịch vụ. Một tập tin WSDL được viết bằng XML và quy định cụ thể các thông tin sau | Viewing a WSDL File and Testing a Web Service WSDL stands for Web Services Description Language and a WSDL file contains a complete description of your Web service including the information required to call your service s methods. A WSDL file is written in XML and specifies the following information Web service methods Data types used by the methods Request and response message formats for communication with the methods Note For comprehensive information on WSDL visit TR wsdl. You access your Web service by pointing your browser to the following URL http localhost NorthwindWebS ervice As you can see from Figure the resulting page displayed in your browser contains two links named Service Description and Retrieve Customers. Figure Accessing a Web service Note You can also access your Web service by right-clicking on the file in the Solution Explorer window in VS .NET and selecting Set As Start Page from the pop-up menu. You then select Debug Start Without Debugging to test your service. VS .NET will start Internet Explorer and display the same test page as was shown in Figure . Viewing the WSDL File for the Web Service If you click the Service Description link you ll see the description of your Web service in the form of a WSDL file which is shown in Listing . Notice that this WSDL file is written in XML and contains the details on how to call the methods exposed by the example Web service. The WSDL file also contains the data types of the parameters used and the calls you can make to your methods. Listing WEB SERVICE WSDL FILE_ xml version encoding utf-8 - definitions xmlns http http schemas . wsdl http xmlns soap http wsdl soap xmlns s http 2001 XMLSchema xmlns s0 http DbProgramming NorthwindWebService xmlns soapenc http soap encoding xmlns tm http wsdl mime textMatching xmlns mime http .