anish jain wrote:But as per web service architecture, I am not getting how the UDDI registry comes into the picture?
A UDDI registry can be used to register and categorize web services.
This will then enable web service clients to locate services using the registry, instead of having to know the address of their WSDL. This is one area in which (UDDI) registries still fill a relevant function.
Another area that a registry may be useful is if you have a large organization that require governance of services and associated data. As far as I know, such a registry would not be a pure UDDI registry, but also supply additional features.
One of the visions that people had in connection to UDDI registries were that clients would be able to locate all services performing a certain function and then selecting the preferred one, using certain criteria (for instance, cost, speed etc). This vision were, to my knowledge, never quite realized.