3.3.4.2.4 De-Serializing the Response

The Return Value and Output Arguments or an Exception along with values MUST be obtained by de-serializing the message content. The serialization format MUST be the same as that specified in the Sending the Request section. The serialization format and the mapping to the Remoting Data Model for a Content Type are specified in the following table.

 Content Type

 Serialization format specification

 Mapping section

Binary format identifier

Binary format as specified in [MS-NRBF]

Section 3.1.5.1

SOAP format identifier

SOAP format as specified in [SOAP1.1]

Section 3.1.5.2

If the message content does not conform to the structure specified in the appropriate serialization format specification (as specified in the preceding table) or if mapping (as specified in the preceding table) the data from the serialization stream to the Remoting Data Model resulted in an error, then the higher layer MUST be notified of the error. In case of an error the implementation MAY stop reading the message further. If the Data Values in the message content contain ObjRefs they MUST be resolved as specified in Resolving Object Reference (section 3.1.5.3)