ESB Toolkit Tip #18 Use the BTDF-SSO Resolver to dynamically resolve settings via SSO

ESB Toolkit Tip #18 Use the BTDF-SSO Resolver to dynamically resolve settings via SSO

When you set an endpoint in an Itinerary with the STATIC Resolver you store that endpoint location in the Itinerary. In ESB Toolkit Tip #6 I showed that in larger environments where you have a lot of services you can use Sentinet from Nevatech to store and manage the web services and use the Sentinet SOA Repository Resolver to dynamically get the endpoint of the Services. But what if you want to route the message to a MSMQ or for example a folder? In that case you can use the BTDF-SSO Resolver from the Deployment Framework for BizTalk (BTDF).
The Deployment Framework for BizTalk makes it easy for you to centrally manage all of the variables (connection strings, user names, passwords, file paths, URL’s, etc.) and store them in SSO. At runtime you can use the BTDF-SSO Resolver to resolve the settings from SSO.

 

Deploy Configuration Settings into SSO

To deploy configuration settings into SSO, edit your Deployment Framework for BizTalk project file (.btdfproj) as follows:

1. Set the IncludeSSO property to true.
Deployment.btdfproj
 
2. Ensure that you have a PropsFromEnvSettings ItemGroup containing SsoAppUserGroup and SsoAppAdminGroup.
ItemGroup
 
3. Ensure that the Excel settings spreadsheet contains SsoAppUserGroup and SsoAppAdminGroup settings and add custom settings.
SettingsFileGenerator.xml

 

Using the BTDF ESB Resolver

To use the BTDF-SSO Resolver in an Itinerary:

1. Ensure that the BTDF-SSO Resolver is added to the esb.config.
esb.config
 
2. Create or edit an itinerary in the Itinerary Designer and, on an itinerary service object, add or edit a Resolver.
 
3. Choose "Deployment Framework for BizTalk SSO Resolver Extension" as the Resolver Implementation.
 
4. Fill in the AffiliateAppName, Transport Location and Transport Type fields.
Itinerary

 

Testing

Once the BizTalk Project with the SSO settings and the Itinerary is deployed with the Deployment Framework for BizTalk, the itinerary is ready to be tested.

1. Check if the settings of the BizTalk application are deployed to SSO with the SSOSettingsEditor tool.
SSOSettingsEditor.exe
 
2. Sent a message to BizTalk and run DebugView to watch the trace output of the BTDF-SSO Resolver.
DebugView
 

 

See Also

For more information on the BTDF-SSO Resolver see:

What’s the future of application integration? I’m heading to Europe to talk about it!

What’s the future of application integration? I’m heading to Europe to talk about it!

We’re in the midst of such an interesting period of technology change. There are new concepts for delivering services (e.g. DevOps), new hosts for running applications (e.g. cloud), lots of new devices generating data (e.g. Internet of Things), and more. How does all this impact an organization’s application integration strategy? Next month, I’m traveling through […]
Blog Post by: Richard Seroter

Azure Search API

Azure search is an indexing service where you can look for content in documents. You could compare it with your personal Bing search engine for your own indexed documents. You can configure and search your documents by using the Azure Search REST API. This blog post tells you more about it.

BizTalk Could not load file or assembly ’Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342 or one of its dependencies. The system cannot find the file specified.

BizTalk Could not load file or assembly ’Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342 or one of its dependencies. The system cannot find the file specified.

Recently I work in a project when I need to communicate with Oracle database in which I encountered some platform configuration problems. In general, communicate with Oracle is very simple and somewhat similar to SQL Server. In development phase I didn’t have any problem, but notice that before you start developing you need to make […]
Blog Post by: Sandro Pereira

Contest Winners: Getting Started with BizTalk Services

Contest Winners: Getting Started with BizTalk Services

Thanks to all participants, however only 59% of the responses were correct, all due to a small trap – I apologize for that – that I put the third question. The correct answers for the questions were: Does BizTalk Services Bridges applies the VETER (Validate, Enrich, Transform, Enrich and Route)? Correct answer: A) Yes Where […]
Blog Post by: Sandro Pereira

PostSharp Logging and Fundamentals with C#

Introduction
Before we start learning PostSharp we must understand the idea of Aspect Oriented Programming.
Aspect oriented programming, or “AOP”, is the programming style which allows the separation of distinct, independent functions. This inevitably increases code modularity and in turn drives towards cohesive functionality. We tend to classify these distinct functions as cross-cutting concerns due to the […]
Blog Post by: Alex Chantharasouk