CodeSnip: Log a BizTalk Orchestration Message into the Windows Event Log
page 2 of 3
by Naveen Karamchetti
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 5940/ 109
Article Contents:

Steps

First, Open the Orchestration Designer for the Orchestration.

Go to the Orchestration View.

1. Create a variable of type System.Xml.XmlDocument, name it "xmlDocument."

2. Create an expression shape.

3. Assign the message variable which you want to log into the EventLog.

4. Use the property xmlDocument.OuterXML.

Figure 1: The Expression Shape

Notice the Expression shape in the figure given below.

Figure 2: The Expression Editor

For example:

xmlDocument = MsgEchoIn;
System.Diagnostics.EventLog.WriteEntry("Message XML", xmlDocument.OuterXML);

View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 3 and 4 and type the answer here:

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 9/6/2008 11:24:17 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search