WS_MESSAGE_INITIALIZATION enumeration (webservices.h)

Specifies what headers the WsInitializeMessage should add to the message.

Syntax

typedef enum {
  WS_BLANK_MESSAGE = 0,
  WS_DUPLICATE_MESSAGE = 1,
  WS_REQUEST_MESSAGE = 2,
  WS_REPLY_MESSAGE = 3,
  WS_FAULT_MESSAGE = 4
} WS_MESSAGE_INITIALIZATION;

Constants

 
WS_BLANK_MESSAGE
Value: 0
The headers of the message are empty.
WS_DUPLICATE_MESSAGE
Value: 1
The headers are initialized to be the same as the source message's headers.
WS_REQUEST_MESSAGE
Value: 2
If using WS_ADDRESSING_VERSION_0_9 or WS_ADDRESSING_VERSION_1_0,
then a unique message ID is set as the MessageID header of the message.
No other headers are added in the message.
WS_REPLY_MESSAGE
Value: 3
The ReplyTo header of the source message (an WS_ENDPOINT_ADDRESS)
is used to address the message. The MessageID header of the source
message is used to add a RelatesTo header to the message. If the message
will contain a fault reply, then WS_FAULT_MESSAGE should be
used instead.
WS_FAULT_MESSAGE
Value: 4
The FaultTo or ReplyTo header of the source message (an WS_ENDPOINT_ADDRESS)
is used to address the message. The MessageID header of the source message
is used to add a RelatesTo header to the message. This should only be
used when the contents of the message will contain a fault.

Requirements

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