XML Request-Reply Bridge : Configuring the Reply Action Before Routing the Response Message
Updated: November 21, 2013
|This stage applies to XML Request-Reply Bridge only. It does not apply to XML One-Way Bridges.|
This topic lists the steps on how to configure a Reply Action.
While Reply Action is technically not a ‘stage’ in an XML Request-Reply Bridge, it plays a key role in ensuring that any protocol mismatches between the message sender and message receiver are bridged right before the response message is finally sent back to the message sender. See Reply Action.
Configure the Reply Action
Double-click the XML Request-Reply Bridge to open the itinerary designer.
Select the Send Reply box. In Properties pane, set the IsEnabled property to True or False specifying whether you want to configure a reply action before sending the response message back to the message sender.
Click the Reply Action activity within the Send Reply box. In Properties, select the ellipsis button (…) against the Reply Action property to open the Reply Actions dialog box.
In Reply Actions, select Add to open the Add Reply Action dialog box. In Add Reply Action, do the following:
Section Field Name Description
Property (Read From)
Lists all the properties that have been defined in all the previous four Enrich stages in the XML Request-Reply Bridge. When you select a property, you specify that the value of the selected properties be assigned to the relevant message header of the outgoing response message.
Use this option to provide an expression, the resultant value of which is passed on to the relevant message header of the outgoing response message. You can also use this option to specify a constant value that is assigned to a message header. Some example expressions are:
P1 + P2, where P1 and P2 are two properties that are already defined in any of the four previous Enrich stages
'Fabrikam', is a string constant
Important You must always specify the value for an expression within single quotes. Important You can either choose the Property Name option or the Expression option. These options are mutually exclusive.
Destination (Write To)
Specify the message type (SOAP or HTTP), the headers of which would be assigned the value that you specified earlier.
SOAP Header Namespace (only if the Type is set to SOAP)
Specify the namespace of the custom SOAP header to which the value will be assigned.
Important This field is greyed out if you select a standard header from the Identifier drop-down list. You may choose to enter namespace only for custom SOAP headers. This field is greyed out also if the Type is set to HTTP.
Specifies the name of message header property to which the value will be assigned.
You can also specify custom headers here. For SOAP message type, the drop-down lists the four standard identifiers. For HTTP message type, because there’s a huge list of standard headers, the drop-down does not list any headers. For both SOAP and HTTP message types, you can list a custom header whose value you want to assign to another property.
- P1 + P2, where P1 and P2 are two properties that are already defined in any of the four previous Enrich stages
Click OK in the Add Reply Action dialog box. The dialog boxes should now resemble the following:
So what does this dialog box depict? It means that the bridge uses the value of property P1 (already defined in one of the previous Enrich stages) and assigns it to the custom SOAP header, PONumber with namespace
http://schemas.microsoft.com/integration/promotedpropertiesinfoand then sends the response message back to the message sender.
To update or remove a reply action, you can select it in the dialog box and then click Edit or Remove. Click OK in the Reply Actions dialog box and then click Save to save changes to the Bridge Configuration.
The XML Request-Reply Bridge is configured. You can now connect the bridge to a Line-of-Business system, route messages, and/or deploy the bridge:
Other ResourcesCreate an XML Bridge