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. --- > java samples.stockquote.GetQuote http://localhost:8081/soap/servlet/rpcrouter IBM --- >From localhost:8081 --- POST /soap/servlet/rpcrouter HTTP/1.0 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: 453 SOAPAction: "" <?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> <ns1:getQuote xmlns:ns1="urn:xmltoday-delayed-quotes" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <symbol xsi:type="xsd:string">IBM</symbol> </ns1:getQuote> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --- >From localhost:8080 --- HTTP/1.0 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: 472 Set-Cookie2: JSESSIONID=5tltjn7ya1;Version=1;Discard;Path="/soap" Set-Cookie: JSESSIONID=5tltjn7ya1;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> <ns1:getQuoteResponse xmlns:ns1="urn:xmltoday-delayed-quotes" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <return xsi:type="xsd:float">101.85</return> </ns1:getQuoteResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --- Satoshi