3.1.4.1.2.2 GetItemResponse

The GetItemResponse element specifies a protocol server response for the GetItem operation (section 3.1.4.1). It contains content and metadata for the requested file.

 <s:element name="GetItemResponse">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="1" maxOccurs="1"
         name="GetItemResult" type="s:unsignedInt" />
       <s:element minOccurs="0" maxOccurs="1"
         name="Fields" type="tns:FieldInformationCollection" />
       <s:element minOccurs="0" maxOccurs="1"
         name="Stream" type="s:base64Binary" />
     </s:sequence>
   </s:complexType>
 </s:element>

GetItemResult: The result of the operation. The protocol client MUST ignore this value. The protocol server MUST set this value to zero.

Fields: Specifies the collection of FieldInformation records that comprise the metadata for the file, as specified in section 2.2.4.5. If the Fields element is present, the Stream element MUST be present as well.

Stream: Specifies the base64-encoded content of the file. Base64 encoding is specified in [XMLSCHEMA2] section 3.2.16. For more information, see [RFC3548].