Which discovery document should you create?

You create an XML Web service project that consists of three services named BronzeService, SilverService, and GoldService. All three services are located in the same virtual directory on a production computer. When customers subscribe to your service, they select only one of the three available services.
A new customer subscribes to SilverService. You need to create a discovery document that enables this customer to use only SilverService.

Which discovery document should you create?

You create an XML Web service project that consists of three services named BronzeService, SilverService, and GoldService. All three services are located in the same virtual directory on a production computer. When customers subscribe to your service, they select only one of the three available services.
A new customer subscribes to SilverService. You need to create a discovery document that enables this customer to use only SilverService.

Which discovery document should you create?

A.
<disco:discovery
xmlns:disco=”http://schemas.xmlsoap.org/disco/”
xmlns:scl=http://schemas.xmlsoap.org/disco/scl/>
<scl:contractRef ref=”SilverService.asmx?wsdl” />
</disco:discovery>

B.
<disco:discovery
xmlns:disco=”http://schemas.xmlsoap.org/disco/”
xmlns:scl=”http://schemas.xmlsoap.org/disco/scl/”>
<scl:contractRef ref=”SilverService.asmx” />
</disco:discovery>

C.
<dynamicDiscovery xmlns=”urn:schemas-dynamicdiscovery:disco.2000-03-17″> <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>

D.
<dynamicDiscovery xmlns=”urn:schemas-dynamicdiscovery:disco.2000-03-17″> <exclude path=”_vti_cnf” />
<exclude path=”_vti_pvt” />
<exclude path=”_vti_log” />
<exclude path=”_vti_script” />
<exclude path=”_vti_txt” />
<exclude path=”Web References” />
<exclude path=”BronzeService.asmx” />
<exclude path=”GoldService.asmx” />
</dynamicDiscovery>



Leave a Reply 0

Your email address will not be published. Required fields are marked *