Adding Dynamic Publish Actions

Use a dynamic publish action to publish a message to a service specified by an XQuery expression.

  1. Navigate to where you want to add the action, as described in Adding and Editing Actions in Message Flows.
  2. Click the appropriate icon, then select Add an Action > Communication > Dynamic Publish.
  3. Click <Expression>.
  4. In the XQuery Expression Editor, enter an Xquery expression or select an XQuery resource that provides a result similar to:
  5. <ctx:route isProxy="false">
    
    <ctx:service>project/folder/businessservicename</ctx:service>
    
    <ctx:operation>foo</ctx:operation>
    
    </ctx:route>
    
    Note: The element operation is optional.
  6. Click Save.
  7. In the Request Actions field, click Add an Action to add an action, then select an action that you want to associate with the service. You can add more than one action. To learn more about the type of actions you can add, see the table of actions in Adding and Editing Actions in Message Flows.

After you finish

When you complete the configuration of this action, continue by configuring other actions or by saving your configuration, as described in Adding and Editing Actions in Message Flows.