PrepAway - Latest Free Exam Questions & Answers

Which code fragment should you insert at line 03?

You are creating a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5.
The client application consumes the Web Services Enhancements (WSE) 3.0 Web service.
The Web service uses standard WSE 3.0 to transfer binary data to the client application.
The client application uses the following binding configuration.
(Line numbers are included for reference only.)

01 <customBinding>
02 <binding name="custom" >
03
04 <httpTransport maxBufferSize="700000" 04 maxreceivedMessageSize="700000" />
05 </binding>
06 </customBinding>

You need to ensure that the client application receives binary data from the WSE 3.0 Web service.
Which code fragment should you insert at line 03?

PrepAway - Latest Free Exam Questions & Answers

A.
<binaryMessageEncoding maxReadPoolSize="700000" />

B.
<binaryMessageEncoding >
<readerQuotas maxBytesPerRead="700000" />
</binaryMessageEncoding>

C.
<binaryMessageEncoding >
<readerQuotas maxArrayLength="700000"/>
</binaryMessageEncoding>

D.
<mtomMessageEncoding messageVersion="Soap12WSAddressingAugust2004">
<readerQuotas maxArrayLength="700000"/>
</mtomMessageEncoding>


Leave a Reply