What is UDDI?
๐ก Concept Name
UDDI (Universal Description, Discovery, and Integration) โ A directory service where businesses can register and find web services.
๐ Quick Intro
UDDI acts as a global registry for web services, similar to a phone book. It helps service consumers find available services and learn how to interact with them.
๐ง Analogy / Short Story
Think of UDDI as a Yellow Pages for web services. Just as you look up a plumber by category and contact, UDDI lists services with descriptions, contact info, and technical details (WSDL).
๐ง Technical Explanation
- ๐ Stores metadata about services: name, location, WSDL, and categories.
- ๐ Enables businesses to publish, discover, and bind to web services.
- ๐ Supports interoperability across different platforms and technologies.
- ๐ฆ Used in SOA for dynamic service lookups and runtime binding.
- ๐๏ธ Information is stored in a structured XML format.
๐ฏ Purpose & Use Case
- โ Service registration and discovery.
- โ Runtime or design-time lookup of service endpoints.
- โ Integration between service providers and consumers in SOA.
๐ป Real Code Example
<businessEntity>
<name>FullStackPrep Calculator Service</name>
<businessServices>
<businessService>
<name>AddService</name>
<bindingTemplates>
<bindingTemplate>
<accessPoint useType="endPoint">http://example.com/addservice</accessPoint>
</bindingTemplate>
</bindingTemplates>
</businessService>
</businessServices>
</businessEntity>

๐ MCQs
Q1. What does UDDI stand for?
- Universal Data Design Interface
- Unified Dynamic Directory Interface
- Universal Description, Discovery, and Integration
- User Defined Directory Index
Q2. What is UDDI primarily used for?
- Data encryption
- Service discovery and registration
- Load balancing
- Error tracking
Q3. Which format does UDDI use to store information?
- JSON
- CSV
- XML
- Binary
Q4. Which protocol is commonly used with UDDI?
- REST
- GraphQL
- SOAP
- FTP
Q5. Does UDDI work with WSDL?
- No
- Yes
- Only with REST
- Only in .NET
Q6. Is UDDI mandatory in SOA?
- Yes
- No
- Always in WCF
- Only with XML services
Q7. What layer does UDDI belong to?
- UI Layer
- Business Logic
- Data Layer
- Service Registry Layer
Q8. What is a binding template in UDDI?
- Describes access to DB
- Describes UI behavior
- Describes how to access the service
- Defines JSON routes
Q9. Can UDDI be public or private?
- Only public
- Only private
- Yes
- Only hosted by Microsoft
Q10. Is UDDI still widely used?
- Yes, increasingly
- Only in Java
- Less common today, replaced by modern API gateways
- Required in REST
๐ก Bonus Insight
Though UDDI adoption has declined, its core idea of structured service discovery lives on in API gateways, service registries, and container orchestration platforms.
๐ PDF Download
Need a handy summary for your notes? Download this topic as a PDF!