The DISCO file typically
points to a WSDL source that in turn points to the actual Web Service.When one
searches for the Web Services, it will go to the DISCO which gives actual
information for the particular Web services. It has .disco file extension. It
is an XML document which contains link to another resources.
Format of
Disco File
HTML / XML <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> <contractRef ref="http://localhost:4261/WebSite1/ManagerConsole.asmx?wsdl" docRef="http://localhost:4261/WebSite1/ManagerConsole.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> <soap address="http://localhost:4261/WebSite1/ManagerConsole.asmx" xmlns:q1="http://tempuri.org/" binding="q1:ManagerConsoleSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> </discovery> |
1. <discovery> : It is root tag of .disco file and we can
add as many references as we would like to publicly expose.
2.
<contractRef>:It
Contains two main attributes which are ref and docRef
i.
ref : It refers to WSDL file.
ii. docRef : It refers human-readable document or actual web service where we define all methods.
3. <soap> : It Contains an attribute called address that is the location or URI of a Web Service that has been defined in a WSDL document.


Vladyslav KolodkaPosted Feb 25, 2019, 10:37 PM EST
Is this file required to asmx sIs this file required to asmx service work correctly?ervice work correctly?
SubashPosted Sep 14, 2016, 9:15 PM EDT
Very nice explanatiom
Saineshwar BageriPosted Apr 11, 2014, 4:51 AM EDT
Nice post
Amogh NatuPosted May 20, 2013, 1:28 AM EDT
Neatly explained. Thank you..