70-513 · Question #182
You are adding a Windows Communication Foundation (WCF) service to an existing application. The application is configured as follows. (Line numbers are included for reference only) 01…
The correct answer is A. Add the following XML segment between lines 10 and 11: D. Add the following XML segment between lines 15 and 16. See the full explanation below for the reasoning.
Question
You are adding a Windows Communication Foundation (WCF) service to an existing application. The application is configured as follows. (Line numbers are included for reference only) 01 <configuration> 02 <system.serviceModel> 03 <services> 04 <service name="Contoso.Sales.Stock.Service" 05 behaviorConfiguration="MetadataBehavior"> 06 <host> 07 <baseAddresses> 09 </baseAddresses> 10 </host> 11 </service> 12 </services> 13 <behaviors> 14 <serviceBehaviors> 15 <behavior name="MetadataBehavior"> 16 </behavior> 17 </serviceBehaviors> 18 </behaviors> 19 ... You need to configure the service to publish the service metadata. Which two actions should you perform? (Each answer presents part of the solution. Choose two.)
Options
- AAdd the following XML segment between lines 10 and 11:
- BAdd the following XML segment between lines 10 and 11:
- CAdd the following XML segment between lines 15 and 16:
- DAdd the following XML segment between lines 15 and 16:
How the community answered
(36 responses)- A72% (26)
- B8% (3)
- C19% (7)
Community Discussion
No community discussion yet for this question.