Thanks, the client worked after I stopped TcpTunnelGui.

By the way, UtilSnoop is really cool tool, but it didn't work in my
environment. I got the following reply from the server when I tried
the sample in HowToUse.txt.

---
HTTP/1.0 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 573
Set-Cookie2: JSESSIONID=5h0ln21y11;Version=1;Discard;Path="/soap"
Set-Cookie: JSESSIONID=5h0ln21y11;Path=/soap
Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.1; Linux 2.4.4 
i386; java.vendor=Blackdown Java-Linux Team)

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>parsing error: org.xml.sax.SAXParseException: The element type 
"SOAP-ENV:Envelope" must be terminated by the matching end-tag 
"</SOAP-ENV:Envelope>".</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
---

Satoshi



From: William Brogden <[EMAIL PROTECTED]>
Subject: Re: something is wrong with TcpTunnelGui
Date: Wed, 17 Oct 2001 07:59:28 -0500

> 
> 
> Satoshi Shirasuna wrote:
> > 
> > Hi,
> > 
> > I'm tring to use TcpTunnelGui with stockquote sample, but something is
> > wrong. I started TcpTunnelGui as follows.
> > 
> > ---
> > > java org.apache.soap.util.net.TcpTunnelGui 8081 localhost 8080
> > ---
> > 
> > When I run the program as usual it works as follows.
> > 
> > ---
> > > java samples.stockquote.GetQuote http://localhost:8080/soap/servlet/rpcrouter IBM
> > 101.85
> > ---
> > 
> > But, when I run the program using TcpTunnelGui, the program doesn't
> > stop. It seems that the program doesn't return from
> > call.invoke. Weird thing is that the windows of TcpTunnelGui show the
> > SOAP reply message. Does anybody know what is wrong? I'll attach the
> > log from TcpTunnelGui.
> 
> Possibly what happens is that as long as the socket the client used to
> connect to TcpTunnel is open, it thinks there is still more data to
> come.
> You might want to try my more flexible alternative to TcpTunnel -
> UtilSnoop can be downloaded from http://www.lanw.com/books/javasoap/
> 
> -- 
> WBB - [EMAIL PROTECTED]
> Java Cert mock exams http://www.lanw.com/java/javacert/
> Author of Java Developer's Guide to Servlets and JSP 
> ISBN 0-7821-2809-2

Reply via email to