- From: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
- Date: Mon, 8 May 2000 23:16:13 -0400
- To: <xml-dist-app@w3.org>, <soap@discuss.develop.com>
If you're learning SOAP or other TCP protocols such as HTTP, you can use a TCP tunnel / monitor program that's included in IBM-SOAP to help you. The tunnel/monitor works as follows: it opens a port on the local machine and whenever a connection is accepted on that port, it makes a connection to the host/port its tunneling to. Then, it uses two threads to forward stuff back and forth. While forwarding the stuff, it also displays the characters in two windows to show you what's going on. For example, try: java com.ibm.cs.net.TcpTunnelGui 8888 www.cnn.com 80 and then point your browser to http://localhost:8888/ and you'll see all the HTTP stuff that's going back and forth. Its a very simple tool, but it was invaluable to us in developing IBM-SOAP as well as for learning other tidbits of HTTP/SMTP/POP3 etc.. For example, when we were working on the SOAP over SMTP stuff, we had tunnels running for the HTTP bridge, for the SMTP parts and for the POP3 parts. This allowed us to see what was happening at each end nicely! The tunnel (with full source) is included in IBM-SOAP: http://www.alphaWorks.ibm.com/tech/soap4j Sanjiva.
Received on Monday, 8 May 2000 23:16:22 UTC