def query_association_post_caCORE_v4(obj, attribute)
     assn = obj.class.association(attribute)
     begin
        result = dispatch { |svc| svc.association(obj, assn) }
      rescue Exception => e
        logger.error("Error fetching association #{obj} - #{e}")
        raise
      end
    end
def query_association_post_caCORE_v4(obj, attribute)
     assn = obj.class.association(attribute)
     begin
        result = dispatch { |svc| svc.association(obj, assn) }
      rescue Exception => e
        logger.error("Error fetching association #{obj} - #{e}")
        raise
      end
    end
Returns an array of domain objects associated with obj through the specified attribute.
 This method uses the +caCORE+ v. 4+ getAssociation application service method.

 *Note*: this method is only available for caBIG application services which implement +getAssociation+.
 Currently, this includes +caCORE+ v. 4.0 and above.
 This method raises a DatabaseError if the application service does not implement +getAssociation+.

 Raises DatabaseError if the attribute is not an a domain attribute or the associated objects were not fetched.