XML Request-Reply Bridge : Configuring the Reply Action Before Routing the Response Message
Updated: November 21, 2013
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. For more information about this, see Reply Action. This topic provides instructions on how to configure a Reply Action.
To configure the Reply Action
Double-click the XML Request-Reply Bridge component to open the itinerary designer.
Select the Send Reply box, and from the 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 and then from the Properties pane click the ellipsis button (…) against the Reply Action property to open the Reply Actions dialog box.
In the Reply Actions dialog box, click Add to open the Add Reply Action dialog box. In the Add Reply Action dialog box, 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 will be 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 will be 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 will be 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 would use the value of property P1 (already defined in one of the previous Enrich stages) and assign it to the custom SOAP header, PONumber with namespace
http://schemas.microsoft.com/integration/promotedpropertiesinfoand then send 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 respectively. Click OK in the Reply Actions dialog box and then click Save to save changes to an Bridge Configuration.
Other ResourcesConfigure an XML Request-Reply Bridge