Thanks!
Dan Weston wrote:
Check out
http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html

for a really good description of how to use it.
The basic idea is that you have to add special handlers to your request
and response chain for your service. These handler grab the messages as
they flow through the chain and send them over to the SOAPMonitor applet
for display. It is a neat trick, and it makes me think of lots of other
things I could do with my own handlers.

Dan

-----Original Message-----
From: Zhaohua Meng [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:04 PM
To: [EMAIL PROTECTED]
Subject: Re: tcp and SOAP monitor


Dan,

How do you use SOAPMonitor? I run Tomcat at port 8080 and deployed axis1.1beta as a web app with context /axis. The following url is used to invoke the monitor:
http://localhost:8080/axis/SOAPMonitor

The applet is loaded but I just don't see any request/response there, although I got response back in the console where I make the client request.

Why?

Thanks,

Zhaohua
Dan Weston wrote:

For me, the advantage of SOAPMonitor over TcpMon is that you don't have to change the URL that the client connects to when using SOAPMonitor, it just sits in the normal handler chain and shows you the messages. With TcpMon, you have to make the client connect to a different endpoint. SOAPMonitor is also really nice if you have someone else connecting to your service and want to watch the messages, but the guy at the client end doesn't have to change anything.

My two cents.

Dan Weston

-----Original Message-----
From: Zhaohua Meng [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: tcp and SOAP monitor


Norris,
I agree with you. I'm just curious. A technical person always tries to
find an answer, although in most cases it's useless. Now I can use the

tcpmon as a debugging tool which is all I need.

Thank you very much for your response.

Norris Merritt wrote:


Hi Zhaohua, I don't use SOAPMonitor. Not sure what the benefit is vs
tcpmon although I may be missing something. I think SOAPMonitor would just annoy me because it does not show the HTTP headers. Without those, you cannot see any SOAPAction header, which many (most? all?) .NET services seem to want.

-----Original Message-----
From: Zhaohua Meng [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 7:33 AM
To: Norris Merritt; [EMAIL PROTECTED]
Subject: Re: tcp and SOAP monitor


Norris,

Thank you very much. I followed your instruction on tcpmon and it worked!. But I'm greedy: in my situation, where client and service are

on the same host, how can I use SOAPMonitor?

Thanks again.
Zhaohua
Norris Merritt wrote:



If your client and service are on the same host, you only need tcpmon.

You have to arrange for your client to explicitly send the SOAP
request to the host/port that tcpmon is listening on, and configure tcpmon to forward the SOAP request to the host/port that the web service is listening on. In
other



words, tcpmon uses a man-in-the-middle strategy. -----Original Message-----
From: Zhaohua Meng [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 4:17 PM
To: [EMAIL PROTECTED]
Subject: tcp and SOAP monitor


Gurus,

I'm a newbie here. I invoke the tcp and SOAP monitor as following

java org.apache.axis.utils.tcpmon 10001 localhost 8080

http://localhost:8080/axis/SOAPMonitor

When making a request to a service deployed successfully using command line, I can get the response back in the java console. However,
nothing


happens in the monitor screen except "Waiting for Connection..."

I didn't change anything in the web.xml.

Am I doing something wrong here? I'm using axis1.1beta.

Thanks,

Zhaohua Meng











Reply via email to