PrepAway - Latest Free Exam Questions & Answers

Which message encoding should you use?

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?

PrepAway - Latest Free Exam Questions & Answers

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

Explanation:
MTOM

SOAP Message Transmission Optimization Mechanism
MTOM describes a mechanism for optimizing the transmission and/or wire format of a SOAP message by
selectively re-encoding portions of the message while still presenting an XML Infoset to the SOAP application.
MTOM also describes an Inclusion Mechanism that operates in a binding-independent way, plus a specific binding for HTTP.

One Comment on “Which message encoding should you use?


Leave a Reply