News

My Stats

  • Posts - 28
  • Comments - 32
  • Trackbacks - 55

Twitter












Tag Cloud


Recent Comments


Recent Posts


Archives


Post Categories


 

This simulates an orchestration callrules action from code:
 
MyArrayList = new System.Collections.ArrayList();
MyPolicy = new Microsoft.RuleEngine.Policy(YourPolicyName);
MyTracer = new Microsoft.RuleEngine.DebugTrackingInterceptor();
 
You will have to create your facts in here. Use TypedXmlDocuments or custom objects (see the BizTalk help for samples)
 
MyArrayList.Add(MyFact1);
MyArrayList.Add(MyFact2);
MyPolicy.Execute(MyArrayList.ToArray(),MyTracer);
MyPolicy.Dispose();
System.Diagnostics.Trace.WriteLine(MyTracer.GetTraceOutput());
 
The above line will redirect the traces to the windows event trace.
Use the excellent debugview utility from sysinternals to view the traces.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

 

Here's a presentation containing an overview of the flat file parser annotations that can be manually inserted into the BizTalk message schema. This is part of a presentation I gave at the Belgian BTS user group meeting a couple of weeks ago. There is also a sample project containing different schemas per annotation showing each annotation's purpose. My main source of information was the BizTalk newsgroups where David Downing makes the beautiful weather for this topic. Just for the record: as usual everything is 'AS IS', so there's no warranty at all...
 
BTW this is my first post using the Simple Blog Editor InfoPath form that I found thanks to Capo
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati