Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

categorybag and identifierbag

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody explain me the exact difference between categorybag and identifierbag elements used in UDDI?
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IdentifierBags
Represents various ways to identfy the same company for eg
If a company is identfy by Tax Number in a country and as My Company will have different Tax Number for different Countries so it will have different identification code. IdentifieBag will look something like this

<identifierBag>
<keyedReference tModelKey="India Tax Number" keyName="taxnumber" keyValue="222" />
<keyedReference tModelKey="UK Tax Number" keyName="taxnumber" keyValue="333" />

</identifierBag>


CategoryBag
Represent to what category my company belongs to ,If my happen that my company falls into many category , say I have hotel it can fall under category of Hotel or Resturant. So it will be represented like this

<categoryBag>
<keyedReference tModelKey="BusinessTypeClassification" keyName="resturant" keyValue="222" />
<keyedReference tModelKey="CityClassification" keyName="hotel" keyValue="333" />
</categoryBag>

<B>So the main difference between IdentifierBag and CategoryBag is that the namesapce identified by tModel in a categoryBag points to predefined category (BusinessTypeClassification/CityClassification)while in IdentifierBag this is not predefined

In real life categories are NAICS/ISO 3166 /UNSPSC
 
uday ogra
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks sumeet......its clear a bit now....
 
Bartender
Posts: 2968
6
 
Yeah, but is it art? What do you think tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic