Uploaded image for project: 'jUDDI'
  1. jUDDI
  2. JUDDI-589

find qualifier signaturePresent doesn't appear to follow the spec

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5
    • Component/s: None
    • Labels:
      None

      Description

      I should be able to use find_xxx api, only specifying a find qualifier of "signaturePresent" and returned only items that are signed. However i get the following message.

      At least one name, categoryBag, find_tModel or tModelBag or name must be supplied. sample code below

      FindService fs = new FindService();
      fs.setFindQualifiers(new FindQualifiers());
      fs.getFindQualifiers().getFindQualifier().add(UDDIConstants.SIGNATURE_PRESENT);

      inquiry.findService(fs);

      In addition, find qualifiers should have the logical AND operator, however when adding a % name value and approximateMatch, I get all records, even things that aren't signed.

      FindService fs = new FindService();
      fs.setFindQualifiers(new FindQualifiers());
      fs.getFindQualifiers().getFindQualifier().add(UDDIConstants.SIGNATURE_PRESENT);
      fs.getFindQualifiers().getFindQualifier().add(UDDIConstants.APPROXIMATE_MATCH);
      Name n = new Name();
      n.setValue("%");
      fs.getName().add;
      ServiceList findService = inquiry.findService(fs);
      for (int i =0; i < findService.getServiceInfos().getServiceInfo().size(); i++)

      { System.out.println(ListToString(findService.getServiceInfos().getServiceInfo().get(i).getName())); }

        Activity

        Hide
        kurtstam Kurt T Stam added a comment -

        Yeah this qualifier is simply not implemented yet. Let me see what I can do.

        Show
        kurtstam Kurt T Stam added a comment - Yeah this qualifier is simply not implemented yet. Let me see what I can do.
        Hide
        kurtstam Kurt T Stam added a comment -

        Implemented the signaturePresent find qualifier

        Show
        kurtstam Kurt T Stam added a comment - Implemented the signaturePresent find qualifier

          People

          • Assignee:
            kstam Kurt T Stam
            Reporter:
            spyhunter99 Alex O'Ree
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development