WSMessageEncoding Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Text | 0 | Text is used to encode the SOAP messages. |
Mtom | 1 | MTOM is used to encode the SOAP messages. |
Remarks
Used by interoperable bindings, such as WSHttpBinding and WSDualHttpBinding, and BasicHttpBinding to specify the SOAP message encoding that may be used.
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.