Talk About Network

Google





Software > Biz Talk Application Integration > RE: BAM issues
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 1253 of 1303
Post > Topic >>

RE: BAM issues

by =?Utf-8?B?c2FtYWRraGFu?= <samadkhan@[EMAIL PROTECTED] > Aug 20, 2008 at 04:42 AM

Hi Siva,

The TPE will not be-able to get the data within a loop as inside a loop, 
activity items cannot be assigned to shapes. You will need to use a
mixture 
of TPE and BAM API (BAM API called within your orchestration).

1. Create a parent profile based the main orchestration
2. Create a child profile based on the second orchestration where the 
message is subscribing 
3. In this child profile create a continuation Id 
(http://blogs.msdn.com/keithlim/archive/2006/02/08/527227.aspx)
4. In the orchestration that contains the loop add an expression shape
which 
calls the following code (edit for your own project):

OrchestrationEventStream.BeginActivity("[CHILD PROFILE NAME]",
activityId);
OrchestrationEventStream.UpdateActivity("[CHILD PROFILE NAME]",
activityId, 
[DATA TO CAPTURE i.e. [FIELD NAME], [VALUE], [FIELD NAME], [VALUE]]);
OrchestrationEventStream.AddReference("[CHILD PROFILE NAME]", activityId, 
"ReferenceType", "[PARENT PROFILE NAME]", parentId);
OrchestrationEventStream.EnableContinuation("[CHILD PROFILE NAME]", 
activityId, "[CONTINUATION NAME]" + activityId);
OrchestrationEventStream.EndActivity("[CHILD PROFILE NAME]", activityId);

I found a couple of simple articles that should get you started:
http://blogs.msdn.com/dhtoran/archive/2005/06/28/433244.aspx
http://www.topxml.com/rbnews/BizTalk%20BAM,%20activity/re-30052_Capturing-BizTalk-2006-BAM-Data-On-Looping-Process.aspx


I will assume you know about deploying BAM profiles and the EOM. If you
need 
any help on this let me know.

Note: Any BAM code, you may want to add that a helper class rather than 
write the code directly within an expression shape. 

Enjoy,
Samad
 




 2 Posts in Topic:
BAM issues
=?Utf-8?B?U2l2YQ==?= <  2008-07-25 12:43:02 
RE: BAM issues
=?Utf-8?B?c2FtYWRraGFu?=   2008-08-20 04:42:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 1:27:40 PST 2009.