You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Tom Cunningham (JIRA)" <ju...@ws.apache.org> on 2011/03/09 21:22:00 UTC
[jira] Resolved: (JUDDI-447) Find with general_keywords
KeyedReference not taking into consideration keyName
[ https://issues.apache.org/jira/browse/JUDDI-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Cunningham resolved JUDDI-447.
----------------------------------
Resolution: Fixed
Fixed the GENERAL_KEYWORD_TMODEL string in Constants.java. Tested it out manually and it works as Lyudmil suggests. A TModel is now only returned if both keyName and keyValue are specified and match.
> Find with general_keywords KeyedReference not taking into consideration keyName
> -------------------------------------------------------------------------------
>
> Key: JUDDI-447
> URL: https://issues.apache.org/jira/browse/JUDDI-447
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Reporter: Lyudmil Latinov
> Assignee: Tom Cunningham
> Fix For: 3.1.0
>
>
> Save tModel with general_keywords KeyedReference
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body>
> <save_tModel xmlns="urn:uddi-org:api_v3">
> <authInfo>authtoken:a7d44e9f-bb91-4ceb-9a89-215be5e42dd8</authInfo>
> <tModel tModelKey="">
> <name>Name</name>
> <categoryBag>
> <keyedReference
> keyName="Name"
> keyValue="Value"
> tModelKey="uddi:uddi.org:categorization:general_keywords"/>
> </categoryBag>
> </tModel>
> </save_tModel>
> </Body>
> </Envelope>
> 2. Find by empty keyName:
> <?xml version="1.0" encoding="UTF-8" ?>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body>
> <find_tModel xmlns="urn:uddi-org:api_v3">
> <findQualifiers>
> <findQualifier>approximateMatch</findQualifier>
> </findQualifiers>
> <name>%</name>
> <categoryBag>
> <keyedReference
> keyName=""
> keyValue="Value"
> tModelKey="uddi:uddi.org:categorization:general_keywords"/>
> </categoryBag>
> </find_tModel>
> </Body>
> </Envelope>
> tModel is returned in results. As per specification is shouldn't - see 11.1.2.4 Valid Values - "Unlike other category systems, in the general_keyword category system both the keyName and the keyValue attributes of keyedReference elements are semantically meaningful and are required."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira