You are creating a Windows-based application that allows users to store photographs remotely by using a Web service.
The Web service is configured to use Web Services Enhancements (WSE) 3.0, and it has the following configuration XML in its Web.config file.
<microsoft.web.services3>
<messaging>
<mtom serverMode=”always”/>
</messaging>
</microsoft.web.services3>
You need to configure the application to ensure that a photograph can be sent to the Web service.
What should you do?
A.
Add the following XML to the application’s App.config file.
<microsoft.web.services3>
<messaging>
<mtom serverMode=”always” />
</messaging>
</microsoft.web.services3>
B.
Add the following XML to the application’s App.config file.
<microsoft.web.services3>
<messaging>
<mtom serverMode=”never” />
</messaging>
</microsoft.web.services3>
C.
Add the following XML to the application’s App.config file.
<microsoft.web.services3>
<messaging>
<mtom clientMode=”Off” />
</messaging>
</microsoft.web.services3>
D.
Add the following XML to the application’s App.config file.
<microsoft.web.services3>
<messaging>
<mtom clientMode=”On” />
</messaging>
</microsoft.web.services3>