Jun 16, 2009 at 7:02 PM
Edited Jun 16, 2009 at 7:05 PM
Here is the detailed list of steps. (unfortunately could not paste the images).
Load the MSE BAM Observation Model
Open a Cmd window
Go to the MSE Installation folder (in my case it is ->
“C:\Program Files\Microsoft Service Oriented Infrastructure 184.108.40.206")
Once there we have to deploy the BAM Observation model using the BM utility (you can find the BM utility in the following folder
<BAM Installation Dir>\Tracking)
In the Cmd window type the following
C:\Program Files\Microsoft Service Oriented Infrastructure 220.127.116.11>"C:\Program Files (x86)\Microsoft BizTalk Server 2009\Tracking\bm.exe" deploy-all -DefinitionFile:MSE_Feb09CTP_BAM_Definition.xml
You should see the following messages:
Note. You can remove the BAM definition by using the “remove-all” in the BM utility.
Configure the Behavior in the MSE Model Viewer
At this point the MSE Bam definition is deployed. Next, define the BAM policy using the following policy assertion type:
<bam:ServiceBehaviorExtensionElement BAMPIDBConnectionString="Integrated Security=true;Data Source=.;Initial Catalog=BizTalkMsgBoxDb"
Open the Model Viewer (Admin Tool) make sure you go into the Policy Management Layout
(Layout -> Policy Management)
Import a WCF Policy Assertion Type using the Following Wizard
(Tool -> Load Policy Components -> WCF Policy Assertion Type
In the “Define Policy Xaml” step copy the XAML Assertion above (modify to suit your needs -> Datasource =<your server>
In the “Assertion Type / Assertion Details” step, give the Assertion Type and Assertion a name. (i.e. AssertionType Name: BAM Assertion Type
Assertion Name: BAM Assertion) in the Assertion Type Subjects click in the “Endpoint” checkbox, this will automatically select the “Runtime Server” as well.
Click <Next> until you are finished with the wizard.
In the Model Viewer, select the “Policy Management” Layout.
In the “POLICIES” section under Configurations (bottom half of the Model Viewer), Do a “Right Mouse Click”
in a space between existing Policies
Select the “Add New Item” option in the context menu that will pop up.
Give the Policy a Name and select the Associated Policy Entity to be “Endpoint”
Click <Apply> and close the Policy Details screen.13.
While In the BAM Policy Details click on the “unrelated” tab in the “ASSERTIONS” area. Drag and Drop the “BAM Assertion” over the “BAM Policy”
Select the “Endpoint” as the Associated Policy Entity.
Now, you can go back to the “End to End Item Management”.
Double Click on an Endpoint where you want to enable BAM.
Make sure you can see the “Policy” (Drag item here) area in the Endpoint details screen.
In the “POLICIES” section click in the “Unrelated” tab to see the available Policies that can be assigned to Endpoints.
Click on the “BAM Policy” (or whatever name you gave it) and without letting go of the mouse button drag it over to the Policy area in the Endpoint and drop it there.
The Behavior should be attached and ready to capture data.
Testing and BAM Portal
To test, run a few services using the Service Tester (or other tool) and go to the BAM Portal (http://<your BTS Server>/BAM/).
You should be able to query BAM data or see the Pivots that we included as part of the Observation Model / Definition.