000025101 - Troubleshooting web services

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000025101
Applies ToAdaptive authentication web services versions 2.1
Adaptive authentication web services versions 2.2.x
RSA Adaptive authentication web services versions 5.7.x.
IssueTo log web service actions
For *any* issues with Web Services, this *must* be done, then the trouble scenario should be reproduced, then the customer must send us the application logs (set to DEBUG level).

For troubleshooting web services in the field, here are the instructions for adding logging of the SOAP XML to our application log.

Use the services.logging.xml file shown below.

1) Install the services.logging.xml in META-INF/xfire
2) In the web.xml file, change to XFire config file to point to services.logging.xml.


3) Make sure logging is at DEBUG level in log4j.properties: log4j.rootCategory=DEBUG, CONSOLE, LOGFILE
4) Restart the application


services.logging.xml text:

<beans xmlns="http://xfire.codehaus.org/config/1.0">
      <handler handlerClass="org.codehaus.xfire.util.dom.DOMInHandler">
      <handler handlerClass="org.codehaus.xfire.util.LoggingHandler">
      <handler handlerClass="org.codehaus.xfire.util.dom.DOMOutHandler">
      <handler handlerClass="org.codehaus.xfire.util.LoggingHandler">

The services.logging.xml should not be used for normal production usage, due to the performance overhead.
Use services.xml for normal production usage.
Legacy Article IDa32050