Portlet Factory, Version 6.1.2


 

Using Apache AXIS TCP Monitor

Follow these steps to monitor service requests and responses with Apache AXIS TCP Monitor:

  1. Start Apache AXIS TCP Monitor with the following command in the project's WEB-INF/lib directory:
    java -cp axis.jar org.apache.axis.utils.tcpmon 8090 localhost 8080

    1. Replace "8090" with an available port on which you want the utility to listen for service requests and responses.

    2. Replace "localhost" with the hostname of the server that the web service is calling.

    3. Replace "8080" with the port on the server that the web service is calling.

  2. In the Service Call builder call, set the Service URL (override) input (in the Advance group) to:
    http://factoryhost:8090

    1. Replace "factoryhost" with the host name of the machine running IBM® WebSphere Portlet Factory.

    2. Replace "8090" with the port number you used when starting Apache AXIS TCP Monitor.

As a result of these steps, the log data is written to your deployed application WAR's WEB-INF/logs folder. Look for the file debugTracing.txt in that folder.

Parent topic: Testing services


Library | Support |