Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-545

combineCategoryBags findQualifier not performing correctly when used in find_business call

    XMLWordPrintableJSON

Details

    Description

      The same issue as described in JUDDI-456 seems to be present when issuing a find_business call containing the combineCategoryBags findQualifier.

      Taking the same example as described in JUDDI-456, when I issue the query:

      <find_business>
      <findQualifiers>
      <findQualifier>combineCategoryBags</findQualifier>
      </findQualifiers>
      <categoryBag>
      <keyedReference keyValue="value-z" tModelKey="uddi:tmodel:01"/>
      <keyedReference keyValue="value-x" tModelKey="uddi:tmodel:02"/>
      </categoryBag>
      </find_business>

      I get no results.

      According to my understanding of the spec, the categoryBags under businessEntity, businessService and bindingTemplate should be combined when resolving this query:

      "In the case of find_business, this qualifier makes the categoryBag entries for the full businessEntity element behave as though all categoryBag elements found at the businessEntity level and in all contained or referenced businessService elements and bindingTemplate elements were combined. Searching for a category will yield a positive match on a registered business if any of the categoryBag elements contained within the full businessEntity element (including the categoryBag elements within contained or referenced businessService elements or bindingTemplate elements) contains the filter criteria."

      I was also able to produce a similar unexpected result when first issuing a find_business query (without the combineCategoryBags qualifier) that returns a result, then adding the combineCategoryBags findQualifier and issuing the query again. The second time I no longer get results.

      Attachments

        Activity

          People

            kstam Kurt Stam
            dvoets David Voets
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: