An Introduction to BizTalk 2006 R2 Development, Page 3
The deployed sample appears in the BizTalk Administration application shown in Figure 6.
Figure 6: BizTalk Administration Application
The next steps are to configure the ports.
A binding contains the BizTalk port configuration information. If you run the setup.bat file, the binding is loaded automatically. I'm going to show you how to manually configure the ports.
The sample utilizes the File Adapter and the XML Pipeline. The XML Pipeline pulls data out of the XML file and places the data in the BizTalk Context. Figure 7 illustrates how you configure a Receive location with the File adapter.
Figure 7: Configuring a Receive Location
As stated earlier, Send Ports subscribe to data in the Messagebox. A filter is configured on each Send Port. The Filter looks for information contained the context and only pulls a message matching the filter criteria into the Send port. A Map translates the CBRInputSchema XML data coming out of the MessageBox to one of the Output formats. Figure 8 illustrates how you configure a Send port with a filter and a map.
Figure 8: Configuring a Send Port
Running the Application
You need to enable the CBRApplication before you run the sample (see Figure 9).
Figure 9: Enabling an Application
To run the sample, copy the sample data file to the folder of the Receive location. The file will pass through the Messagebox, as described above, and appear in the Send port folder.
Where you go from here depends on your goals and interests. Here are some sources you'll find particularly useful.
- The BizTalk Home Page: http://www.microsoft.com/biztalk/default.mspx
- Connected Systems Division Blog, the people who brought you BizTalk, WCF, and WF: http://blogs.msdn.com/biztalk_server_team_blog/
- BizTalk Patterns and Practices: http://technet.microsoft.com/en-us/library/ms935116.aspx
- BizTalk MSDN articles: http://msdn2.microsoft.com/en-us/magazine/cc163423.aspx
- Articles on this site: http://www.developer.com/xml/article.php/10929_3714631_2
- An excellent book on Messaging and Integration: http://www.enterpriseintegrationpatterns.com/
- The future of BizTalk lies in "Oslo", Windows Communication Foundation, and Windows Workflow. Here
are sites covering these technologies:
- XML Resources:
Special thanks go to Ofer Ashkenazi of Microsoft Corporation for creating the BizTalk Messaging Engine graphic for this article.
- BizTalk 2006 R2 Documentation
- Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf
About the Author
Jeffrey Juday is a software developer with Crowe Chizek in South Bend, Indiana. He has been developing software with Microsoft tools for more than 12 years in a variety of industries. Jeff currently builds solutions using BizTalk 2004, ASP.NET, SharePoint, and SQL Server 2000. You can reach Jeff at email@example.com.
Page 3 of 3