What should you do?

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.
After receiving instruction you have just finished developing an ASP.NET Web application named WebServices. WebServices contains the Web services for each of the Domain.com clients. Microsoft Internet Information Services (IIS) 6.0 is hosting the Web application. And the Web application is configured in such a way so as to map host header names to client-specific virtual directories. Each Domain.com client has its own virtual directory. These virtual directories are located in a root virtual directory named WebServices. The following exhibit illustrates an example of the virtual directory structure:

WebSite
WebServices (Web Application)

Client A (VirtualDirectory)
WebService1.asmx
WebService2.asmx

Client B (VirtualDirectory)
WebService3.asmx
WebService4.asmx

Client C (VirtualDirectory)
WebService5.asmx
WebService6.asmx

You received further instructions to ensure that all Domain.com clients have the ability to discover all of the Web services that are implemented in the Web application for that client. You need to accomplish this task while also making provision for those Web services that is intended for future implementation. However, you also need to ensure that the Domain.com clients should not have the ability to discover implemented Web services intended for other clients.

What should you do? (Each correct answer presents part of the solution. Choose two.)

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.
After receiving instruction you have just finished developing an ASP.NET Web application named WebServices. WebServices contains the Web services for each of the Domain.com clients. Microsoft Internet Information Services (IIS) 6.0 is hosting the Web application. And the Web application is configured in such a way so as to map host header names to client-specific virtual directories. Each Domain.com client has its own virtual directory. These virtual directories are located in a root virtual directory named WebServices. The following exhibit illustrates an example of the virtual directory structure:

WebSite
WebServices (Web Application)

Client A (VirtualDirectory)
WebService1.asmx
WebService2.asmx

Client B (VirtualDirectory)
WebService3.asmx
WebService4.asmx

Client C (VirtualDirectory)
WebService5.asmx
WebService6.asmx

You received further instructions to ensure that all Domain.com clients have the ability to discover all of the Web services that are implemented in the Web application for that client. You need to accomplish this task while also making provision for those Web services that is intended for future implementation. However, you also need to ensure that the Domain.com clients should not have the ability to discover implemented Web services intended for other clients.

What should you do? (Each correct answer presents part of the solution. Choose two.)

A.
A .vsdisco file should be added to each Domain.com client’s virtual directory.

B.
A .disco file should be added to each Domain.com client’s virtual directory.

C.
Both a .vsdisco and a .disco file should be added to the WebServices directory

D.
No .vsdisco or .disco files should be placed in the WebServices directory.

E.
A .vsdisco file should be placed in the WebServices directory.

Explanation:
A file with a .vsdisco extension will allow for dynamic discovery. This will result in the Domain.com clients having the ability to discover all the Web services that exist at en below the virtual directory that contains the document. This means that each client will be able to discover all Web services that exist at and below its own virtual directory.
Incorrect answers:
B: You should not place a .disco file to each Domain.com client’s virtual directory because this is a static discovery document. You should manually specify the Web services that should be discovered in this document and the clients will then not be able to automatically discover the Web services that will be added in the future.
C: You should not place a .disco or a .vsdisco file in the WebServices directory. This will result in the violation of one of the requirements in the questions that states the no one Domain.com client should be able to discover Web services that are not intended for that specific client.
E: You should not place a .vsdisco file in the WebServices directory because you do not want the Domain.com clients to be able to discover the Web services that are not implemented for them.



Leave a Reply 0

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