For each Request element that is part of a cell storage service request, there MUST be a corresponding Response element in a cell storage service response. Each Response element MUST contain one or more SubResponse elements.
<xs:element name="Response"> <!--Allows for the numbers to be displayed between the SubResponse elements--> <xs:complexType mixed="true"> <xs:sequence minOccurs="1" maxOccurs="unbounded"> <xs:element name="SubResponse" type="tns:SubResponseElementGenericType" /> </xs:sequence> <xs:attribute name="Url" type="xs:string" use="required"/> <xs:attribute name="RequestToken" type="xs:nonNegativeInteger" use="required" /> <xs:attribute name="HealthScore" type="xs:integer" use="required"/> <xs:attribute name="ErrorCode" type="tns:GenericErrorCodeTypes" use="optional" /> <xs:attribute name="ErrorMessage" type="xs:string" use="optional"/> </xs:complexType> </xs:element>
SubResponse: A SubResponseElementGenericType that specifies the response given by the protocol server for the corresponding subrequest requested as part of the SubRequest element. The SubResponseElementGenericType is defined in section 22.214.171.124. The SubResponse element is defined in section 126.96.36.199. The SubRequest element is defined in section 188.8.131.52.
Url: A string that specifies the URL for the file that uniquely identifies the file whose response is being generated. The Url attribute MUST be specified for each Response element.
RequestToken: A nonnegative integer that specifies the request token that uniquely identifies the Request element whose response is being generated. The Request element is defined in section 184.108.40.206. The one-to-one mapping between the Response element and the Request element MUST be maintained by using the request token. The RequestToken MUST be specified for each Response element.
HealthScore: An integer that specifies the server performance health, expressed as an integer ranging from 0 through 10, where a score of 0 specifies excellent server health and a score of 10 specifies very poor server health. The health score provides hints that help the protocol client throttle the sending of cell storage service requests, depending on the server health.
ErrorCode: A GenericErrorCodeTypes that specifies an error code value indicating the type of error that occurred during the processing of the mapping Request element. GenericErrorCodeTypes is defined in section 220.127.116.11. This attribute MUST be present only if any of the following is true:
An exception occurred during the processing of a subrequest that was not entirely handled by the subrequest processing logic.
ErrorMessage: A string that specifies a description of the error message and also specifies information about what was expected by the server. This attribute MUST be present when the ErrorCode attribute is present and does not equal "Success".