How to monitor messages sent/received through WSAS

When exposing Web services through WSO2 WSAS, you may need to capture the SOAP message flow between your client application and Web service. WSO2 Web Services Application Server (WSAS) comes with a SOAP Tracer which can be used to view the request and response messages.

Date: Thu, 18th Oct, 2007
Level: Introductory
Reads: 2094 Comments: 0 | Login or register to post comments


In this document, we will invoke the default version service which is shipped with WSO2 WSAS and capture the message flow using the SOAP Tracer.

 

Prerequisites

The procedure explained below depends on WSO2 WSAS 2.0 or later, so please install it as described in the WSAS installation guide.

 

Step 1

Log in to the WSO2WSAS management console as the default admin user (admin/admin)

Step 2

Click on Tracer in the left navigation menu of the management console.

Step 3

Enable SOAP tracing by selecting ON from the list.

 

Step 4

Now you can either invoke a Web service through an external client or just use the TryIt feature included in the WSAS management console.

Step 5

Select Services in the left navigation menu of the WSAS management console.

Step 6

Click on the default Version service available under the services column of the service management table.

Step 7

Click Try it.

 

Step 8

Click getVersion on the Try the Version Service page.

Step 9

Once you get the response, go to the SOAP Tracer page again.

Step 10

You can see that the SOAP request and responses are in the SOAP Message - Request and SOAP Message - Response boxes respectively.

As described above, the SOAP Tracer is a valuable and user-friendly tool to capture the messages transmitted in Web service invocation. When turning the tracer on, SOAP messages are completely built and stored in the WSAS database. Hence, the server performance can be significantly degraded.

Applies To

WSO2 WSAS 2.0 and newer versions

More Information

WSO2 WSAS User's Guide

WSO2 WSAS How To Series

library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)