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 deployment of Web services forms part of your responsibilities at Domain.com. You are currently busy copying a Microsoft Extensible Markup Language (XML) Web Service from a development server using the Copy Web Site tool. You then discover that in the event of users navigating to http://www. Certkiller .zzz/LocationService.asmx, they encounter an exception message in their browsers as follows:
Request format is unrecognized.
However, the message is not displayed when you test the Web service from a development server. When users navigate to this page, they should be able to view the automatically generated ASP.NET runtime Help page. You now need to ensure that users will be able to view the Help page without interfering with the deployment of other Web services on the production server.

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 deployment of Web services forms part of your responsibilities at Domain.com. You are currently busy copying a Microsoft Extensible Markup Language (XML) Web Service from a development server using the Copy Web Site tool. You then discover that in the event of users navigating to http://www. Certkiller .zzz/LocationService.asmx, they encounter an exception message in their browsers as follows:
Request format is unrecognized.
However, the message is not displayed when you test the Web service from a development server. When users navigate to this page, they should be able to view the automatically generated ASP.NET runtime Help page. You now need to ensure that users will be able to view the Help page without interfering with the deployment of other Web services on the production server.

What should you do?

A.
You should add
<configuration>
<system.web>
<webServices>
<wsdlHelpGenerator href=”#WSDL”/>
</webServices>
<system.web>
</configuration>
to the machine.config file on the Web server.

B.
You should add
<configuration>
<system.web>
<webServices>
<wsdlHelpGenerator href=”#WSDL”/>
</webServices>
<system.web>
</configuration>
to the Web.config file on the Web server.

C.
You should add
<configuration>
<system.web>
<webServices>
<protocols>
<add name=”Documentation”/>
</protocols>
</webServices>
<system.web>
</configuration>
to the Web.config file for the Web service.

D.
You should add
<configuration>
<system.web>
<webServices>
<protocols>
<add name=”Documentation”/>
</protocols>
</webServices>
<system.web>
</configuration>
to the machine.config file on the Web server.

Explanation:
the Documentation protocol should be added to the collection of protocols supported by ASP.NET Web services. This will allow the ASP.NET runtime to display a Help page when navigating to a Web service in a Web browser. If the Documentation protocol is disables in either the machine.config file or the Web.config file for a Web application, the exception message will be displayed. Because this problem occurs on the production Web server and not the development Web server, the machine.config file must be configured to disallow the Documentation protocol.
Incorrect answers:
A: You should not set the WSDL Help generator page by setting the href attribute of the HelpGenerator element. This element allows you to specify a custom Help page rather than the automatically generated one. Furthermore this is the wrong location to be adding this configuration.
B: You should not set the WSDL Help generator page by setting the href attribute of the HelpGenerator element. This element allows you to specify a custom Help page rather than the automatically generated one.
D: The Documentation protocol should not be added in the machine.config file. In such a case it will affect the other Web services that are running on the production web server, especially since the question requires you to disallow the Documentation protocol for all the other Web services.



Leave a Reply 0

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