Creating Custom Pipeline Component and Pipeline for Reading Excel File in BizTalk
In this blog I will explain how can we read an Excel file using pipeline in BizTalk . A custom pipeline components need to be develop to parse the excel file to generate an xml file matching an existing defined schema . A custom pipeline component is just simple .NET DLL that implements a class with some predefined interfaces. This interface represents the layer between a .NET program and the BizTalk Server. When we create custom pipeline class we need to Implement IBaseMessage , IComponent , IComponentUI , and IPersistPropBag interfaces.You can use the below code as is. The logic for reading an Excel file will be implemented inside the Execute method under IComponent I nterface . ExcelDecoder.cs (Custom Component File) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Microsoft.BizTalk.Component.Interop; using Mic...