Step 8: Connect the Components on the Bridge Configuration Surface
Updated: November 27, 2015
The previous steps in this tutorial demonstrated how to add an FTP source, an LOB component, and a one-way bridge to Bridge Configuration surface. This step demonstrates how to connect all these components to create an end-to-end message flow.
To connect the components on the bridge design surface
Open the MessageFlowItinerary.bcs file in the FlatFile_Bridge project.
From the Toolbox, select Connection, and drag-drop the mouse pointer from the FTP Source component to the bridge component to connect the two. Repeat this step to connect the bridge component to the LOB Relay component.
Set the filter condition on the connection between the bridge and the LOB Relay entity.
Click the connection between XML One-Way Bridge and the LOB Relay entity.
In the Properties window, click the ellipsis (…) button for Filter Condition.
In the Route Filter Configuration dialog box, set the filter condition to Match All. This ensures that all the messages that are processed through the bridge are routed to the LOB entity.
Set the Route action so that the outgoing message to the LOB application has the appropriate SOAP action header.
Open Server Explorer and navigate to the SQL LOB Relay created earlier. Right click the relay, click Properties, and for the Operations property, copy the value of the first operation. This value denotes the value of the SOAP action header that must be set on the message that is routed to the LOB Relay.
On the Bridge Configuration surface, click the connection between XML One-Way Bridge and the LOB Relay entity.
In the Properties window, click the ellipsis (…) button for Route Action. In the Route Actions dialog box, click Add to open the Add Route Action dialog box. In the Add Route Action dialog box, do the following:
Under Property (Read From) section, select Expression, and then paste the value that you copied earlier.
You must always specify the value for an expression within single quotes.
Under Destination (Write To) section, set the Type to SOAP and the Identifier to Action.
The dialog box resembles the following:
Click OK in the Add Route Action dialog box to add the route action. Click OK in the Route Actions dialog box and then click Save to save changes to an BizTalk Service project.
The end-to-end message flow resembles the following:
Save changes to the project.