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
- Stop the Config UI server, if running.
- Navigate to the ASG_CONFIG_HOME/BookQueryBE/xslt directory.
- Copy the parse_headers.xsl file to ASG_CONFIG_HOME/BookQueryBE/xslt/operations directory.
- Start the Config UI server.
- Login to the Config UI using your credentials.
- Click BookQueryBE project.
- Select tab.
- Select queryBookByAuthor operation.
- Select operations/parse_headers.xsl from the drop-down list in the ProcessBody Transform field.
- Save changes to the configuration.
- Sample XSLT
Refer to the following sample XSLT to store the headers of the request message:
Copyright © Cloud Software Group, Inc. All rights reserved.