[ 
https://issues.apache.org/jira/browse/JUDDI-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kurt T Stam closed JUDDI-589.
-----------------------------

    Resolution: Fixed

Implemented the signaturePresent find qualifier
                
> 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

Reply via email to