juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Created: (JUDDI-42) FindRelatedBusinesses function miss businessKey
Date Mon, 01 Nov 2004 07:11:32 GMT
FindRelatedBusinesses function miss businessKey
-----------------------------------------------

         Key: JUDDI-42
         URL: http://nagoya.apache.org/jira/browse/JUDDI-42
     Project: jUDDI
        Type: Bug
    Versions: 0.9rc3    
    Reporter: Jeff Zhang
 Assigned to: Steve Viens 


There is a bug in FindRelatedBusinessesFunction.java

Base on uddi spec, relatedBusinessesList struct should include the businessKey.  But in code,
jUDDI miss it:(src/java/org/apache/juddi/function/FindRelatedBusinessesFunction.java L98-104)
      RelatedBusinessesList list = new RelatedBusinessesList();
      list.setGeneric(generic);
      list.setOperator(Config.getOperator());
      list.setTruncated(truncatedResults);
      list.setRelatedBusinessInfos(infos);
      return list;

Thus will cause some UDDI client fail when it verify UDDI_v2.xsd. Adding a line before the
list return:
      list.setBusinessKey(new org.apache.juddi.datatype.BusinessKey(businessKey));
will resolve this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message