Logging Request Headers

Using transformation (SLT) file to store the header values from the request .

The BookQueryBE example ships the sample XSLT file to parse the request for queryBookByAuthor facade operation and store the header values into the database.

To store the header values using the parse_headers.xsl,follow these steps:

Procedure

  1. Stop the Config UI server, if running.
  2. Navigate to the ASG_CONFIG_HOME/BookQueryBE/xslt directory.
  3. Copy the parse_headers.xsl file to ASG_CONFIG_HOME/BookQueryBE/xslt/operations directory.
  4. Start the Config UI server.
  5. Login to the Config UI using your credentials.
  6. Click BookQueryBE project.
  7. Select ROUTING > Facade Operations tab.
  8. Select queryBookByAuthor operation.
  9. Select operations/parse_headers.xsl from the drop-down list in the ProcessBody Transform field.
  10. Save changes to the configuration.