This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!