code: def getServices(self):
          
          tool = getToolByName(self, REFERENCE_CATALOG)
          services = []
          for spec in self.getReferenceResults():
              service = tool.lookupObject(spec['uid'])
              services.append(service)
          return services
docs: get all services for this Sample