You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Alex Chen <al...@iona.com> on 2004/07/16 08:06:18 UTC

JUDDI findBusiness() bug

Hi all:

    I think there's a bug in JUDDI's findBusiness() function, which 
defined in IRegistry.java, the detail as below (I use JUDDI-0.9rc1):

1. When I use findBusiness() to get some infomation of UDDI DataBase, if 
there aren't any Services associate with my Business, all seems OK.

2. But if there have some Services associate with my Business, the 
returned BusinessList is wrong, just because the ServiceInfo class 
doesn't include a businessKey.

3. If you use JUDDI's client do the test, it's OK, but if you use other 
client test it, there will be a problem.

4. There is a piece definition that I got from uddi.org's uddi_v2.xsd

  <xsd:element name="serviceInfo" type="uddi:serviceInfo"/>
   <xsd:complexType name="serviceInfo">
    <xsd:sequence>
     <xsd:element ref="uddi:name" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="serviceKey" type="uddi:serviceKey" use="required"/>
    <xsd:attribute name="businessKey" type="uddi:businessKey" 
use="required"/>
   </xsd:complexType>

  from the definition above, you can see that the businessKey is needed 
by the return result.



thx.

Alex Chen