Thank you Kurt!  That is a really caring reply -- caring for jUDDI forum's 
members.

I will go through the specification documents (URLs) in your response.

From: Kurt T Stam
Subject: Re: TModelKey "uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2"
To: [email protected]
Date: Wednesday, June 29, 2011, 9:33 PM



  

    
  
  
    1. You can either specify a key or have it be generated by UDDI. In
    UDDI v3 the keys are much like domain names:
    http://www.uddi.org/pubs/uddi_v3_features.htm#_Toc10457165

    

    2. With TModels things work a little different. TModels are very
    flexible/customizable data structures, and can be used to categorize
    your data. The UDDI specification has a list of keys that stand for
    a certain taxonomy, see for instance

    

    http://www.uddi.org/taxonomies/

    http://www.uddi.org/taxonomies/Core_Taxonomy_OverviewDoc.htm

    http://www.uddi.org/taxonomies/UDDI_CoreOther_tModels.htm

    

    Some of these taxonomies where created before the UDDI v3 keys, and
    look like yours (not human readable).

    

    Anyway, if you reference your data under a certain taxonomy then you
    reference one of those taxonomy keys in the tModelKey field. 

    

    Hopefully this helps, please read the specification documents
    mentioned above for more detail.

    

    Cheers,

    

    --Kurt

    

    

    On 6/29/11 2:52 PM, Computer Learning Inst wrote:
    
      
      
        
          
            Any help please, on this issue too!

              

              How do we generate a *valid* TModelKey in our Java source
              code, instead of the following HARDCODED string?  See
              further comments below.

              

              From: Computer Learning Inst

                Subject: TModelKey
                "uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2"

                To: [email protected]

                Date: Monday, June 20, 2011, 2:32 AM

                

                
                  
                    
                      
                        Sample Code:

                          ============

                          CategoryBag objBizNewCategoryBag = new
                            CategoryBag();

                          KeyedReference objKR = new
                            KeyedReference();

                          objKR.setKeyName("manufacturing
                            industry");

                          objKR.setKeyValue("88888");

                          
objKR.setTModelKey("uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2");

                          objBizNewCategoryBag.getKeyedReference().add(objKR);

                          theOrganization.setCategoryBag(objBizNewCategoryBag);

                          

                          The above code works (during saving a new
                          business).

                          

                          However, how do we generate a *valid*
                          TModelKey? There are a number of online
                          programs scattered over the web and they all
                          seem to use the above HARDCODED key ==> 
uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2

                          

                          What is the significance of the HARDCODED
                          string "uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2"? 
                          How do we instead generate a *valid* TModelKey
                          in our (Java) programs?

                          

                        
                      
                    
                  
                
              
            
          
        
      
    
    

  

Reply via email to