Specifies whether Message Transmission Optimization Mechanism (MTOM) or text is used to encode SOAP messages.
public enum class WSMessageEncoding
public enum WSMessageEncoding
type WSMessageEncoding =
Public Enum WSMessageEncoding
MTOM is used to encode the SOAP messages.
Text is used to encode the SOAP messages.
The Message-Transmission Optimization Mechanism (MTOM) is a method for efficiently encoding binary XML elements within the context of a SOAP envelope.
Text encodings for messages, such as UTF8, are used for interoperability purposes.
Note that the standard bindings designed for interoperability with Web services do not use binary encodings. For more information about the standard bindings, see System-Provided Bindings.