YOU ARE HERE: Home > Tutorial > Tutorial > Article

Using Axis SOAPMonitor
By John Henry Xu This article was rated:
 
Printer Version Printer Friendly | Add As Favorite | Link to Article

About the Author

Dr. John Xu is a seasoned system architect, developer and manager. He was chief architect for large distributed portals. He also developed search engine and Java forums. He can be reached by email xixu@yahoo.com.

Axis SOAPMonitor can be used to monitor SOAP messages between web services and their clients. With TCP monitor, it is a good tool to debug web service applications.

SOAPMonitor is a java applet application that can be invoked from command line. If you have installed Axis and set up its classpath and other software right, it is very easy to use. Unlike TCP monitor, Axis SOAPMonitor doesn??t need change any codes in web services or their clients.

Simple Steps Using Axis SOAPMonitor

We assume axis services are installed at %TOMCAT_HOME%\webapps\axis.

In the sub folder %TOMCAT_HOME%\webapps\axis\WEB-INF, we can find a file users.lst

We add a user admin with password ??secretpass??. In users.lst, first column is for user names, while the second column is for user??s password.

After we added admin to users.lst file, it looks like List 1.

List 1. users.lst


user1 pass1
user2
user3 pass3
admin secretpass

We assume you have add all jar files in %AXIS_HOME%\lib folder to classpath. Specifically, following jar files should be in the classpath variable.


axis.jar
jaxrpc.jar
saaj.jar
commons-logging.jar
commons-discovery.jar
activation.jar
mail.jar
A XML parser such as Xerces

Start the web application server Tomcat that contains Axis.

If you type command line in a windows console

java org.apache.axis.utils.SOAPMonitor

You should see the SOAPMonitor



Type "admin" as User, "secretpass" as Password, and click OK button.

You should see the screenshot



In our case, we select myecho, echo and simplemath services, then click "Turn On" button to monitor these services.
After turn on these services, we click the tab "Monitoring" on the top left corner. And open another windows console, and start a client application connecting to myecho service.
We can see SOAPMonitor recording the request and response SOAP message for the application.



We thus have shown how easy to use SOAPMonitor to find SOAP requests and SOAP responses.


Was this article helpful to you?yesno
0 of 1 people found this article helpful.



Related Publications
 
A quick way to create grids in Photoshop
Struts Tile Tutorial
Using Axis SOAPMonitor
How to fix RedHat 9 ftp server problem
Use Apache with Web Application Server
Install and Use Apache Web Server
Verify the signature of downloaded files
Quick tutorial about finding MAC address of your PC
HIPAA Introduction (Part 2)
HIPAA Introduction (Part 1)

(Registered users can post questions/comments)

 
 TLINKS SEARCH
Advanced Search
Help
 Recommended Links
Red Cross
Responding to hurricane katrina relieve. Donate today. It's a Great Feeling to Help.
http://www.redcross.org
Getusjobs.com
Getusjobs.com is the job site focused on American jobs. See the results that put us on top.
http://www.getusjobs.com
Database Tool
TLinkSoft® tools empowers developers, integrators and DBAs to be more productive.
http://www.cppunit.org/download.jsp
USAnalyst.com
USAnalyst.com provide a community for database analysts, business analysts, developer analysts and managers.
http://www.cppunit.org/article

Powered by Tlinks Systems