Geeks With Blogs

News This is the *old* blog. The new one is at blog.sixeyed.com

Elton Stoneman
This is the *old* blog. The new one is at blog.sixeyed.com

So far the examples I've shown have been using STATIC resolvers. These are easy to set up and for quick samples have the benefit that all the connection settings are visible in the resolver config in the itinerary. They're brittle though and for real-world use it's obviously a limitation to hard-code the service settings on the consumer side.

ESB Guidance offers various resolvers, but UDDI seems the most attractive for dynamically resolving service implementations. UDDI (Universal Description, Discovery and Integration) is a standard for registering services in a central repository. It provides a structured way to store and discover Service Providers, Services and Bindings. Initially, UDDI registries were intended for public publishing of commercial services, but Windows Server 2003 includes UDDI Services, allowing registries to be used internally within organisations.

In UDDI terms, Services are registered under a Service Provider – this may be an organisation providing a set of services, or internally it can be used identify an internal system. This provides a grouping of like services and the provider's contact information can be used for the technical owner, or other point of contact.

Services in UDDI are method endpoints, typically a Web service action. Service names are not constrained to be unique within a provider, and there is no intermediate grouping, so a naming convention may be needed to group services within a provider. It may also be necessary to include versioning in the service name. While UDDI allows you two have two services with the same name but different target namespaces (so the namespace could be used for versioning), the ESB resolver only uses the service name.

Each service has a set of bindings, representing the necessary connection data to use the service. There are standard bindings (e.g. http to specify endpoint address), but they are configurable so can include any amount of information. In ESB each component of the resolver connection string (TransportLocation, TransformType etc.) is stored as a binding. The resolver finds the UDDI service from the registry and brings back all the connection settings you would manually specify in the STATIC connection string.

The UDDI resolver requires the location of the registry, and the name of the Service Provider and Service. The static resolver config from the previous post would look like this using UDDI:

<Resolvers serviceId="Microsoft.Practices.ESB.Services.Routing1">

&lt;![CDATA[

UDDI:\\serverUrl=http://localhost/uddi;

serviceProvider="ESBSimpleSamples;

serviceName=EncodingService.GetASCIICode;

]]&gt;

</Resolvers>

Note that the service name is arbitrary. The convention here identifies the action with the owning Web service which may be useful for Service Providers which have large numbers of services registered.

The UDDI resolver caches hits to the UDDI service for a configurable lifetime. The obvious trade off is between performance and flexibility, so an extension option may be to provide an external method for invalidating the ESB cache. A custom deployment step could update the UDDI registry with a new/updated service then fire a message to ESB Guidance to invalidate the cache.

There's not much cost involved in using UDDI, and the publishing step could be an automated part of deployment. It requires a UDDI repository to be available to dev and other environments, and naming standards need to be considered, but the advantage comes in decoupling consumers and the ESB from the actual service implementations. Swapping out a service in live is as straightforward as deploying the new service and updating the registry. In an SOA world, the registry also forms the central point of knowledge about the systems and services available for consumption

Posted on Tuesday, April 29, 2008 8:17 PM ESB Guidance , BizTalk 2006 R2 , UDDI | Back to top


Comments on this post: ESB Guidance – UDDI Resolver

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
It works for me, thanks a lot for that useful post, congrats dude !
Left by betclick on Aug 26, 2009 3:43 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
AN EXCELLENT POST.I AM IMPRESSED WITH YOUR WRITING STYLE.THANKS A BUNCH FOR THE INNOVATIVE POST YOU HAVE SHARED WITH US.IT WILL NOT ONLY HELP THE NEWBIES BUT ALSO HELP FOR THE EXPERIENCE HOLDERS.I KEEP SEEING LIKE THESE ARTICLES.
Left by villaggi toscana mare on Feb 11, 2010 9:29 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
AN EXCELLENT POST.I AM IMPRESSED WITH YOUR WRITING STYLE.THANKS A BUNCH FOR THE INNOVATIVE POST YOU HAVE SHARED WITH US.Thanks for share!Restore Deleted Files|进程保护
Left by Data Recovery Software on Mar 04, 2010 3:13 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
Good Post!Guard Process
Left by david on Mar 04, 2010 3:14 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
I download all my psp games from Free psp games download
Left by Free PSP Games on Aug 02, 2010 9:26 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
wow you are awesome
Left by Ajan Salt izle on Aug 11, 2010 10:55 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
Simply amazing stuff !
Left by Humor Shqip on Dec 21, 2010 11:39 PM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
UDDI service is really a cost effective solution for my company. I can save a lot of money.
Left by college websites on May 12, 2011 7:56 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
Thanx for the post, when our group gets bigger, we will come back to see if you have any more interesting follow up topics to link to from your new blog site ;-)
Indian London escorts
Left by London Escorts on Jun 04, 2011 11:48 PM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
Perfectly this is what I am searching for, it will help me all through out my needs. Thanks for this.
general contractors chicago
Left by junies on Oct 12, 2011 5:20 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
the first thing i did was to deploy and configure the esb guidance as per the installation instructions it ships with. i won't cover those steps here, so i'll just jump to what i did once that process was complete
Left by xtreme fat loss on Nov 12, 2011 4:03 PM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
Based on the popular brand,the products are always not cheap.So we come to shop but just can only do the window shopping. Especially for the young women and man,we do not get the high salary,but we want the top brand products,just like North Face Jackets, how can I own them? The easy way is finding the North Face clearance or North Face Jackets Sale time.3
Left by North Face Jackets Sale on Nov 19, 2011 7:54 AM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
Thank you for the wonderful information.
Left by moe on Jan 31, 2012 3:19 PM

# re: ESB Guidance – UDDI Resolver
Requesting Gravatar...
I enjoyed reading this post and i have to say i found it very informative,i wish there was a newsletter i could subscribe to as i would love to get updates from this blog.

epoxy sealing
Left by epoxy sealing on Feb 06, 2015 10:17 AM

Your comment:
 (will show your gravatar)


Copyright © Elton Stoneman | Powered by: GeeksWithBlogs.net