15.3. Discovery
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.
Figure 15.2. 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> ...
Get A Programmer's Guide to .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.