• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

categorybag and identifierbag

 
uday ogra
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?
 
Sumeet Raheja
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....
 
Peer Reynders
Bartender
Posts: 2968
6
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic