• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

categorybag and identifierbag

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks sumeet......its clear a bit now....
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See also difference between categorybag and identifier bag in UDDI.
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic