You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com.
The following exhibit illustrates a configuration.
Exhibit:
<?xml version=”1.0″?>
<dynamicDiscovery xmlns=”urn:schemas-dynamicdiscovery:disco.2007.02.19″> <exclude path=”_vti_cnf” />
<exclude path=”_vti_pvt” />
<exclude path=”_vti_log” />
<exclude path=”_vti_script” />
<exclude path=”_vti_txt” />
<exclude path=”Web References” />
</dynamicDiscovery>
You have just added the above configuration to a new file by means of using a text editor. You need to save this file to a production server to provide the Web service discovery.
What should you do?
A.
Use the .disco extension to save the file.
B.
Use the .vsdisco extension to save the file.
C.
Use the .wsdl extension to save the file.
D.
Use the .asmx extension to save the file.
Explanation:
Dynamic discovery documents are denoted by a file with .vsdisco extension. This will allow the Web service client to discover all Web services that exist at and below the virtual directory that contains the document. You should thus save the file using a .vsdisco extension.
Incorrect answers:
A: The .disco extension is used to denote a static discovery document. This will not suffice under the circumstances.
C: The .wsdl extension represents files what are Web Services Description Language (WSDL) documents. You should not make use of this extension to save the file to the production server.
D: The .asmx extension represents a Web service endpoint. These types of files thus so not allow for dynamic discovery.