单项选择题
A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems.
The service has the following requirements:
It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding.
It must interoperate with systems that use SOAP but are not built on the .NET plafform.
You need to configure the service to support these requirements. Which message encoding should you use?()
A. Binary message encoding
B. MTOM (Message Transmission Optimization Mechanism) message encoding
C. Text message encoding with message version set to none
D. Text message encoding with message version set to SOAP 1.2
相关考题
-
单项选择题
You have an existing Windows Communication Foundation (WCF) Web service. The Web service is not responding to messages larger than 64 KB. You need to ensure that the Web service can accept messages larger than 64 KB without generating errors. What should you do?()
A. Increase the value of maxReceivedMessageSize on the endpoint binding.
B. Increase the value of maxRequestLength on the httpRuntime element.
C. Increase the value of maxBufferSize on the endpoint binding.
D. Increase the value of maxBufferPoolSize on the endpoint binding. -
单项选择题
You have an existing Windows Communication Foundation (WCF) service that exposes a service contract over HTTP. You need to expose that contract over HTTP and TCP. What should you do?()
A. Add a net.tcp base address to the host.
B. Add an endpoint configured with a netTcpBinding.
C. Add an endpoint behavior named netTcpBehavior to the existing endpoint.
D. Add a binding configuration to the existing endpoint named netTcpBinding. -
单项选择题
You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue.You need to configure the service to read messages from the failed-delivery queue.Which URI should you specify in the endpoint configuration settings of the service?()
A. net.msmq://localhost/msmq$FailedMessages
B. net.msmq://localhost/msmq$DeadLetter
C. net.msmq://localhost/system$DeadXact
D. net.msmq://localhost/system$DeadLetter
