You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2013/04/13 23:08:16 UTC

[jira] [Commented] (JUDDI-589) find qualifier signaturePresent doesn't appear to follow the spec

    [ https://issues.apache.org/jira/browse/JUDDI-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631161#comment-13631161 ] 

Kurt T Stam commented on JUDDI-589:
-----------------------------------

Yeah this qualifier is simply not implemented yet. Let me see what I can do.
                
> find qualifier signaturePresent doesn't appear to follow the spec
> -----------------------------------------------------------------
>
>                 Key: JUDDI-589
>                 URL: https://issues.apache.org/jira/browse/JUDDI-589
>             Project: jUDDI
>          Issue Type: Bug
>            Reporter: Alex O'Ree
>            Assignee: Kurt T Stam
>             Fix For: 3.1.5
>
>
> 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(n);
>             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()));
>             }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira