Share via


MtomReceiveMode Enumeration

Specifies whether the Web service supports the MTOM specification.

Namespace: Microsoft.Web.Services3.Messaging.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim mtomReceiveMode1 As MtomReceiveMode = MtomReceiveMode.Always

Syntax

'Declaration
Public Enum MtomReceiveMode
public enum MtomReceiveMode
public enum class MtomReceiveMode
public enum MtomReceiveMode
public enum MtomReceiveMode

Members

Member name Description
Always All incoming and outgoing SOAP messages must be MTOM encoded. When a SOAP request is received that is not encoded using MTOM, the HTTP error 415: "Media unsupported" is returned to the sender.
Never All incoming SOAP messages must not be MTOM encoded. When a SOAP request is received that is encoded using MTOM, the HTTP error 415: "Media unsupported" is returned to the sender. SOAP responses and SOAP faults are not encoded using MTOM.
Optional WSE processes all incoming SOAP messages, with or without MTOM encoding. All SOAP responses and SOAP faults match the MTOM encoding of the incoming SOAP message.

Remarks

Possible values are always, never, and optional. The default value is never.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Microsoft.Web.Services3.Messaging.Configuration Namespace