WS_XML_WRITER_MTOM_ENCODING structure (webservices.h)

Used to indicate that the reader should emit bytes in MTOM format.
The MTOM format will represent bytes written to it as binary mime parts rather than embedded base64 encoded text.

Syntax

typedef struct _WS_XML_WRITER_MTOM_ENCODING {
  WS_XML_WRITER_ENCODING encoding;
  WS_XML_WRITER_ENCODING *textEncoding;
  BOOL                   writeMimeHeader;
  WS_STRING              boundary;
  WS_STRING              startInfo;
  WS_STRING              startUri;
  ULONG                  maxInlineByteCount;
} WS_XML_WRITER_MTOM_ENCODING;

Members

encoding

The base type for all types that derive from WS_XML_WRITER_ENCODING.

textEncoding

Specifies the encoding of the xml document carried by MTOM.

writeMimeHeader

Specifies whether or not the writer should emit a MIME header.

boundary

Specifies the character sequence that should be used to delimit the mime parts. This corresponds to the "boundary" parameter of the MIME Content-Type.

startInfo

Specifies the type used by the mime part that contains the xml. This corresponds to the "start-info" parameter in the of the MIME Content-Type.

startUri

Specifies the mime part that contains the xml. This corresponds to the "start" parameter of the MIME Content-Type.

maxInlineByteCount

Specifies the threshold at which the writer will not write base64 encoded text and instead write a binary mime part for binary data.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h