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

Lyudmil Latinov commented on JUDDI-447:
---------------------------------------

Fix is in Constants.java. Correct tModeKey is:
public static final String GENERAL_KEYWORD_TMODEL = 
"uddi:uddi.org:categorization:general_keywords";

> 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: Kurt T Stam
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to