• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between categorybag and identifier bag in UDDI

 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any help me in understanding the difference between categorybag and identifierbag in UDDI
As far as I understood its like categorybag is the category of webservice for eg whether it is software,garment manufacturer,bookpublisher etc..
and identifierbag is the identifier of particular web service in that category.
Am I in the right track?
Please help me.
Thanks in advance
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you should stop trying to think in terms of web services when you are dealing with UDDI. Ultimately the SOAP web service is described by the WSDL stored in the repository. UDDI was trying to help you find a business that offers the kind of business services that you need. The business is represented by "businessEntity" however the "businessKey" is a primary key only within the scope of the repository. Outside the repository there are other identification systems used to help you determine who (which business (instance)) you are dealing with. The identifierBag holds keyReferences (to keys) that uniquely identify the business (instance) through the specified identification system (D-U-N-S, Tax ID, etc.) which is external to the repository.

If businessEntity was a table, businessKey would the the primary (surrogate) key in the database - meanwhile each of the businessEntities could still be uniquely identified by one or more alternate candidate keys.

keyReferences to all those "alternate candidate keys" go into the identifierBag.

categoryBag holds references to the keys that classify the business services that the businessEntity offers. So categoryBag helps you determine what category/type/class of business you are dealing with. Again categoryBag can hold multiple "alternate candidate keys" where each keyReference belongs to a separate categorization system.

One thing that makes UDDI more complicated is that tModel is a meta-entity - i.e. it doesn't directly represent something in particular but it is used to store information about particular "somethings" which may be structured quite differently.
 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peer,
Thanks for your explanation but it is bit complicated
Same thing what I wrote in message in simple way (as far as I understood).
Please tell me the difference between categorybag and identitybag in simple words and with example.
Thanks in advance.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
identifierBag contains references to keys that identify the company (BusinessEntity). It answers the question, "Who are you"?
categoryBag contains references to keys that identify the type of business the company is in. It answers the question, "What do you do"?

Each bag may hold keys to multiple directories or classification systems.

For example Joe's world wide company directory (JWWCD) may assign the following keys (and values):
(123,"IBM"), (456,"Sony"), (789,"Nintendo"), ...

Bill's Consumer Electronics Index (BCEI) may assign the following key/values
(xyz,"Nintendo"), (klm,"Sony") ...

For the "Sony" business entity the identifierBag would reference the keys (JWWCD,456) and (BCEI,klm)
For the "IBM" business entity the identifierBag would reference the key (JWWCD,123).


Jane's Overly Simplified Business Classification (JOSBC) may use
(A1B2,"Software Product Development"), (C3D4,"Electronic Product Manufacturing"), ...

Mary's Business Service Classification System (MBSCS) may use:
(5E6F,"Enterprise Software Development Consulting") (7G8H,"Real Estate Management"), ...

For the "Sony" business entity the categoryBag would reference the key (JOSBC,C3D4)
For the "IBM" business entity the categoryBag would reference the keys (JOSBC,A1B2) and (MBSCS,5E6F).
[ March 12, 2008: Message edited by: Peer Reynders ]
 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peer,
Thanks for the explaination in simple words.
It really helped understanding the difference between categorybag and identifierbag.
Once again Thanks alot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic