Monday, November 15, 2010

Processing Request and Response Documents Individually with XML Policies in Forum Sentry

Forum Sentry administrators using XML Policies may wish to process both the incoming request documents and the outgoing response documents separately using a different task lists.

Following the steps below will allow processing of both the request and the response XML documents with an XML Policy in Sentry:
  1. Enable response processing on the HTTP Remote policy.
  2. Import the sample request and response XML documents on the Documents page.
  3. Create two Task Lists, one for each sample document and each with an Identify Document task.
  4. For the request XML document, make sure the Task list uses an Identify Document task to correctly and uniquely identify the inbound XML document. Add any additional tasks.
  5. For the response XML document, make sure the Task List uses an Identify Document task to correctly and uniquely identify the outbound XML document. Add any additional tasks.
  6. Add each Task List to a Task List Group and ensure the "Process all Task Lists" option is disabled.
  7. Associate the Task List Group to the XML Policy.


Both the inbound (request) and outbound (response) XML documents will need to be unique in some way. Given this, the Identify Document tasks will uniquely identify the request or response document and then trigger the remaining tasks in the task lists. When "Process all Task Lists" option on the Task List Group is disabled, the first Task List that successfully matches the XML document is run and all others are ignored.

0 comments:

Post a Comment