3.2.5.4.1.2 Sending to the Client

If the expected versions have not been received from the client (section 3.2.5.4.1.1), the server MUST send a wxf:Fault message to the client.

If expected versions have been received from the client (section 3.2.5.4.1.1), then the server MUST send a SESSION_CAPABILITY message in response to a client SESSION_CAPABILITY message.

The server sends a response to the client with its SESSION_CAPABILITY message (section 2.2.2.1) using the wxf:ReceiveResponse message (section 3.2.5.3.8) targeted to the RunspacePool. The RPID field (section 2.2.1) of the SESSION_CAPABILITY message sent by the server MUST be zeroed out.

The SESSION_CAPABILITY message MUST have the following properties when it is sent to the client.

Name

Value to send

protocolversion

MUST be 2.0 when client sent protocolversion=2.0; otherwise, MUST be 2.1 or 2.2.

PSVersion

MUST be 2.0.

SerializationVersion

MUST be 1.1.0.1.

TimeZone

The TimeZone property MUST be omitted.