3.2.5 Message Processing Events and Sequencing Rules
The SQM client request message is processed during the client-initiated HTTP connection. The server MUST capture the HTTP POST body. The POST body contains the message and, if it is a data upload, the binary SQM session data.
The server reads and processes the client XML request message in the POST body as follows:
The server reads the XML message length in the XML message header as specified in section 2.2.2.1.
The server parses the XML message per the length specified in the XML message header and validates the XML schema as specified in [MS-TPXS] section 5.1.
The server validates the message content as specified in section 2.2.2,
The server decompresses any compressed data as specified in section 2.2.2.11.
The server processes each client request in the XML message as specified in section 2.2.2.12. The request (req) contains the specific client request metadata and command.
The server creates a response message as specified in section 2.2.3.
The server creates a response command for each request command as specified in section 2.2.3.4.