3.2.4.1.2.2 BaseObjectSearchResponse

This element forms the body of the SOAP message sent by the server in response to an IMDA-extended Get operation. It contains one or more PartialAttribute elements. The contents of the BaseObjectSearchResponse are one of the following two cases:

  1. If the BaseObjectSearchRequest contained one or more AttributeType elements (that is, if it specified at least one identity attribute type), the BaseObjectSearchResponse contains one or more PartialAttribute elements, each of which contains the identity value(s) of the corresponding identity attribute that was requested by the client in the BaseObjectSearchRequest. This correspondence is positional: the order of the PartialAttribute elements in the BaseObjectSearchResponse MUST be the same as the order of the AttributeType elements in the BaseObjectSearchRequest.

    The number of PartialAttribute elements in the BaseObjectSearchResponse MUST equal the number of AttributeType elements in the BaseObjectSearchRequest. If the requested identity attribute is not present or is inaccessible due to access control policy in the identity object, the server MUST return an empty PartialAttribute element for that identity attribute in the BaseObjectSearchResponse.

  2. If the BaseObjectSearchRequest did not contain any AttributeType elements (that is, if it was a request for the XML representation of the entire identity object), the BaseObjectSearchResponse MUST contain a single PartialAttribute element, the content of which is the XML representation of the identity object.

      
     <xsd:element name="BaseObjectSearchResponse">
         <xsd:complexType>
             <xsd:sequence>
                 <xsd:element name="PartialAttribute" 
     type="PartialAttributeXmlType"
                              minOccurs="1" maxOccurs="unbounded" />
                </xsd:sequence>
         </xsd:complexType>
     </xsd:element>
    

PartialAttribute: Contains either (1) one or more identity attribute values for the identity attribute that was named in the corresponding position of the BaseObjectSearchRequest, or (2) the XML representation of the identity object. In the case of (1), this element can be present multiple times (once for each AttributeType element in the BaseObjectSearchRequest). In the case of (2), this element is present exactly once.