You need to ensure that the service publishes the WSDL description at http://services.contoso.com/OrderLookupService.svc?wsdl

Your company has a Windows Communication Foundation (WCF) service at the URL
http://services.contoso.com/OrderLookupService.svc. The <system.serviceModel> section
of the configuration file is as follows. (Line numbers are included for reference only.) 01
<system.serviceModel> 02 <behaviors> 03 <serviceBehaviors> 04 <behavior> 05
<serviceDebug includeExceptionDetailInFaults=”false”/> 06 07 </behavior> 08
</serviceBehaviors> 09 </behaviors> 10 <serviceHostingEnvironment
multipleSiteBindingsEnabled=”true” /> 11 </system.serviceModel> You need to ensure that
the service publishes the WSDL description at
http://services.contoso.com/OrderLookupService.svc?wsdl. What should you do?

Your company has a Windows Communication Foundation (WCF) service at the URL
http://services.contoso.com/OrderLookupService.svc. The <system.serviceModel> section
of the configuration file is as follows. (Line numbers are included for reference only.) 01
<system.serviceModel> 02 <behaviors> 03 <serviceBehaviors> 04 <behavior> 05
<serviceDebug includeExceptionDetailInFaults=”false”/> 06 07 </behavior> 08
</serviceBehaviors> 09 </behaviors> 10 <serviceHostingEnvironment
multipleSiteBindingsEnabled=”true” /> 11 </system.serviceModel> You need to ensure that
the service publishes the WSDL description at
http://services.contoso.com/OrderLookupService.svc?wsdl. What should you do?

A.
Insert the following element at line 06. <serviceDiscovery> < announcementEndpoints>
<endpoint name=”wsdlAnnouncement” kind=”udpAnnouncementEndpoint” />
</announcementEndpoints> </serviceDiscovery>

B.
Insert the following element at line 06. <serviceMetadata httpGetEnabled=”true” />

C.
Change the serviceDebug element at line 05 as follows. <serviceDebug
includeExceptionDetailInFaults=”true”/>

D.
Insert the following element at line 06. <serviceMetadata httpGetEnabled=”false” />



Leave a Reply 0

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