The SubResponseType complex type contains information about a basic cell storage service subresponse. The SubResponseType is used as the base complex type to extend SubResponseElementGenericType. The SubResponseElementGenericType takes one of the following forms: CellSubResponseType, CoauthSubResponseType, SchemaLockSubResponseType, ExclusiveLockSubResponseType, ServerTimeSubResponseType, WhoAmISubResponseType, EditorsTableSubResponseType, GetDocMetaInfoSubResponseType, VersioningSubResponseType or FileOperationSubResponseType. CellSubResponseType is specified in section CoauthSubResponseType is specified in section ExclusiveLockSubResponseType is specified in section SchemaLockSubResponseType is specified in section ServerTimeSubResponseType is specified in section WhoAmISubResponseType is specified in section EditorsTableSubResponseType is specified in section GetDocMetaInfoSubResponseType is specified in section GetVersionsSubResponseType is specified in section FileOperationSubResponseType is specified in section VersioningSubResponseType is specified in section

 <xs:complexType name="SubResponseType">
    <xs:attribute name="SubRequestToken" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="ServerCorrelationId" type="tns:guid" use="optional"/>
    <xs:attribute name="ErrorCode" type="tns:ErrorCodeTypes" use="required" />
    <xs:attribute name="HResult" type="xs:integer" use="required"/>
    <xs:attribute name="ErrorMessage" type="xs:string" use="optional"/> 

SubRequestToken: A nonnegative integer that specifies a number that uniquely identifies the SubRequest element whose subresponse is being generated as part of the SubResponse element. The mapping subresponse that gets generated for the subrequest references the SubRequestToken to indicate that it is the response for that subrequest. The SubRequestToken attribute MUST be specified for a SubResponse element. The SubResponse element is defined in section The SubRequest element is defined in section

ServerCorrelationId: A guid that specifies a unique identifier that equals to the CorrelationId as specified in section<10>

ErrorCode: An ErrorCodeTypes that specifies an error code value indicating the type of error that occurred during the processing of the corresponding SubRequest element. The SubRequest element is defined in section ErrorCodeTypes is defined in section The ErrorCode attribute MUST be specified for a SubResponse element.

HResult: An integer that specifies an error code specific to the subrequest that failed and that gives more hints about the cause of failure.

ErrorMessage: A string that specifies a description of the error code value and also provides additional information related to the error code. If the error code value is set to "FileAlreadyLockedOnServer", the protocol server returns the user name of the client that is currently holding the lock on the file.