### Adding and Configuring Validate Actions in Message Flows

Use a validate action to validate elements selected by an XPath expression against an XML schema element or a WSDL resource.

Before you begin

Display the message flow for the desired proxy service. See Constructing Proxy Service Message Flows.

To add a validate action

1. In the Message Flow Design Palette, open the Stage Actions > Message Processing list, if it is not already open.
2. Drag the validate action to the desired location in the message flow.

To configure the validate action

1. In the Message Flow Editor, click the validate action, if it is not already selected.
2. On the Validate Action Properties page, edit properties as appropriate.