The steps in this workflow show you how to read data from a file. To begin, you must create a File port for reading .xml file input from file and writing .xml output to file.
You can substitute the data source with any other BizTalk data flow, as appropriate.
-
Right-click Port Surface, and then select New Port.
-
Right-click Port_1, and then select Configure Port.
The Port Configuration Wizard opens.
-
Click Next.
-
On the Port Properties page, rename the port by typing FileReadPort in the Name box,
-
Click Next.
-
On the Select a Port Type page, select Create a new Port Type.
-
Type FileReadPortType in the Port Type Name box, and then click Next.
The Port Binding page displays.
-
Select I’ll always be receiving messages on this port in the Port direction of communication list.
-
Select Specify now in the Port Binding list.
-
Select FILE in the Transport list.
-
In the URL box, type the path location where you will be copying your request messages in .xml file format.
The file extension is required.
-
Click Next, and then click Finish.