Discovery (Disco) makes it possible for clients to discover web services. The special XML document that usually takes the form of a file with a .disco extension contains references to such resources as WSDL, documents, and links for a particular web service. A .disco file (also called “a discovery file”) is placed at the root of a virtual directory that contains other web service-related files. Figure 15.2 shows the directory
structure for web services.
\Inetpub \wwwroot \MyWebService WSDemo.asmx web.comfig \bin
A .disco file has the following structure:
<?xml version="1.0" ?> <disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco/"> <!– References –> </disco:discovery> ...