Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This property provides the size of the SOAP envelope of an HTTP message.

Property ID

PROPID_M_SOAP_ENVELOPE_LEN

Type Indicator

VT_UI4 (or VT_NULL)

MQPROPVARIANT Field

ulVal

Property Values

The size, in bytes, of the SOAP envelope provided by PROPID_M_SOAP_ENVELOPE.

Remarks

The PROPID_M_SOAP_ENVELOPE_LEN property is a read-only property that is only used when an application retrieves the SOAP envelope of an HTTP message.

To retrieve the SOAP envelope, see PROPID_M_SOAP_ENVELOPE.

Equivalent COM Property

There is no COM equivalent for this property.

Examples

The following code example shows how PROPID_M_SOAP_ENVELOPE_LEN is specified in the MQMSGPROPSstructure when retrieving the SOAP envelope and its size.

Copy Code
MsgProps.aPropID[i] = PROPID_M_SOAP_ENVELOPE_LEN;
MsgProps.aPropVar[i].vt = VT_UI4;
i++
MsgProps.aPropID[i] = PROPID_M_SOAP_ENVELOPE;
MsgProps.aPropVar[i].vt = VT_LPWSTR;
aMsgPropVar[i].pwszVal = wszSOAPEnvelopeBuffer;
i++;

See Also

Reference

MQMSGPROPS