You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Jeff Lansing <je...@polexis.com> on 2003/09/22 11:37:11 UTC

[juddi-Users] FindServiceByCategoryQuery problem

Hi,

This UDDI query:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
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.

Am I doing something wrong, or could this be a bug?

Thanks,

Jeff




Re: [juddi-Users] FindServiceByCategoryQuery problem

Posted by Jeff Lansing <je...@polexis.com>.
Hi,

There seems to be some bigger problem here.

First, a fresh checkout of cvs doesn't fix the bug, and second, when I 
look at the version of what I just checked out, for 
FindServiceByCategoryQuery.java, I see that it's version 1.9, checked in 
by sviens 9/17/2003 7:28PM.

Jeff


Anou Manavalan wrote:

>Jeff,
>
>I added the fix, Check if the files in CVS fixes your problem.
>
>regards,
>-Anou
>
>-----Original Message-----
>From: juddi-users-admin@lists.sourceforge.net
>[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
>Lansing
>Sent: Monday, September 22, 2003 10:36 AM
>To: juddi-users@lists.sourceforge.net
>Subject: [juddi-Users] FindServiceByCategoryQuery problem
>
>
>Hi,
>
>This UDDI query:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope 
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
>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.
>
>Am I doing something wrong, or could this be a bug?
>
>Thanks,
>
>Jeff
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>  
>





RE: [juddi-Users] FindServiceByCategoryQuery problem

Posted by Anou Manavalan <am...@sybase.com>.
Jeff,

I added the fix, Check if the files in CVS fixes your problem.

regards,
-Anou

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
Lansing
Sent: Monday, September 22, 2003 10:36 AM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] FindServiceByCategoryQuery problem


Hi,

This UDDI query:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
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.

Am I doing something wrong, or could this be a bug?

Thanks,

Jeff



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users




RE: [juddi-Users] FindServiceByCategoryQuery problem

Posted by Anou Manavalan <am...@sybase.com>.
Jeff,
You are right, it is an optional key. Submit a bug and I will change it in
the code.

regards,
-Anou

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
Lansing
Sent: Monday, September 22, 2003 10:36 AM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] FindServiceByCategoryQuery problem


Hi,

This UDDI query:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
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.

Am I doing something wrong, or could this be a bug?

Thanks,

Jeff



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users