You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "SourceForge.net" <no...@sourceforge.net> on 2003/09/22 12:39:02 UTC
[juddi-Developers] [ juddi-Bugs-810716 ] FindServiceByCategoryQuery problem
Bugs item #810716, was opened at 2003-09-22 10:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=810716&group_id=42875
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Lansing (jlansing)
Assigned to: Nobody/Anonymous (nobody)
Summary: FindServiceByCategoryQuery problem
Initial Comment:
This UDDI query:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelo
pe/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
<soapenv:Body>
<find_service generic="2.0" xmlns="urn:uddi-
org:api_v2">
<categoryBag>
<keyedReference keyName="Gale Lite"
keyValue="GaleLite"
tModelKey="uuid:E1648F60-EBB9-11D7-8F60-
94CE72D65057"/>
</categoryBag>
</find_service>
</soapenv:Body>
</soapenv:Envelope>
produces this SQL query:
SELECT S.SERVICE_KEY,S.LAST_UPDATE FROM
BUSINESS_SERVICE
S,SERVICE_CATEGORY C WHERE C.SERVICE_KEY =
S.SERVICE_KEY AND
S.BUSINESS_KEY = 'null' AND ((C.KEY_NAME = 'Gale Lite'
AND C.KEY_VALUE =
'GaleLite')) ORDER BY S.LAST_UPDATE DESC
Which seems wrong, especially the literal 'null', which
doesn't much
resemble a uuid_key. The UDDI v.2 spec says that the
business key is
optional and may be omitted.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=810716&group_id=42875