You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Jeff Faath (JIRA)" <ju...@ws.apache.org> on 2010/04/20 17:03:50 UTC
[jira] Assigned: (JUDDI-384) Cannot perform find_XXX query with
only KeyedReferenceGroup as criteria
[ https://issues.apache.org/jira/browse/JUDDI-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Faath reassigned JUDDI-384:
--------------------------------
Assignee: Jeff Faath (was: Kurt T Stam)
> Cannot perform find_XXX query with only KeyedReferenceGroup as criteria
> -----------------------------------------------------------------------
>
> Key: JUDDI-384
> URL: https://issues.apache.org/jira/browse/JUDDI-384
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 3.0.1
> Environment: Apache Tomcat/6.0.10, PostgreSQL 8.4
> Reporter: Jason Brown
> Assignee: Jeff Faath
> Fix For: 3.0.2
>
>
> We currently have jUDDI 3.0.1 installed using postgresql 8.4 for a database. When querying with find_business where the search criteria consists of only a KeyedReferenceGroup a SOAP fault occurs stating that "A category bag must have at least one keyedReference or keyedReferenceGroup" which the business has.
> Published tModels:
> <?xml version="1.0" encoding="UTF-8"?>
> <save_tModel xmlns="urn:uddi-org:api_v3">
> <tModel tModelKey="uddi:sd:security-level" deleted="false">
> <name>Security Level tModel (testing only)</name>
> <description xml:lang="en">
> A security level tModel for testing purposes only.
> </description>
> </tModel>
> <tModel tModelKey="uddi:sd:security-group" deleted="false">
> <name>SD Security Keyed Reference Group (tModel)</name>
> <description>
> Groups security keyed references in a special keyedReferenceGroup for tModels.
> </description>
> </tModel>
> </save_tModel>
> Published Business:
> <?xml version="1.0" encoding="UTF-8"?>
> <uddi:save_business xmlns:uddi="urn:uddi-org:api_v3">
> <uddi:businessEntity businessKey="uddi:sd:BE01">
> <uddi:name>BE01</uddi:name>
> <uddi:categoryBag>
> <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group">
> <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/>
> </uddi:keyedReferenceGroup>
> </uddi:categoryBag>
> </uddi:businessEntity>
> </uddi:save_business>
> find_business inquiry (this fails with the SOAP fault below):
> <?xml version="1.0" encoding="UTF-8"?>
> <uddi:find_business xmlns:uddi="urn:uddi-org:api_v3" listHead="1">
> <uddi:categoryBag>
> <uddi:keyedReferenceGroup tModelKey="uddi:sd:security-group">
> <uddi:keyedReference tModelKey="uddi:sd:security-level" keyValue="0"/>
> </uddi:keyedReferenceGroup>
> </uddi:categoryBag>
> </uddi:find_business>
> resultant SOAP fault:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>A category bag must have at least one keyedReference or keyedReferenceGroup</faultstring>
> <detail>
> <dispositionReport xmlns="urn:uddi-org:api_v3" xmlns:ns10="urn:uddi-org:policy_v3_instanceParms" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:vscache_v3" xmlns:ns5="urn:uddi-org:policy_v3" xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3" xmlns:ns8="urn:uddi-org:repl_v3" xmlns:ns9="urn:uddi-org:vs_v3">
> <result errno="20210">
> <errInfo errCode="E_valueNotAllowed">A value did not pass validation because of contextual issues.</errInfo>
> </result>
> </dispositionReport>
> </detail>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.