Using ESB Toolkit for UDDI

Simple, add the following xlangs to an expression shape in your orchestration.

// Build a resolver dictionary
resolver = "UDDI3:\\searchQualifiers=andAllKeys;categorySearch=;bindingKey=;serviceKey=uddi:esb:systemlog;";
resolverDictionary = Microsoft.Practices.ESB.Resolver.ResolverMgr.Resolve(LogEntryMsg, resolver);

// Set the adapter properties for the message context
Microsoft.Practices.ESB.Adapter.AdapterMgr.SetEndpoint(resolverDictionary, InsertLogEntryMsg);

// Set the address on the port
InsertSystemLogPort(Microsoft.XLANGs.BaseTypes.Address) = resolverDictionary.Item("Resolver.TransportLocation");
InsertSystemLogPort(Microsoft.XLANGs.BaseTypes.TransportType) = resolverDictionary.Item("Resolver.TransportType");
This entry was posted in BizTalk Server. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s