TCP and Http tunnel

 

Recently, while working on one web service client application using JAX-RPC, I found the need to see the SOAP message generated by my application and also the response message received by it. So, I want to use some kind of tunnel to intercept TCP messages generated by JAX-RPC. I searched on net and come to know about TCP Tunnel/Monitor application which comes as part of Apache SOAP. I downloaded it and start using it. After a few try, I found that this tunnel is not able to send the messages to the destination site because my computer is behind http proxy and firewall. I tried to set -Dhttp.proxy and -Dhttp.port java options while starting TCP tunnel but still no luck. I again turned to google and found one http tunnel application. I downloaded http tunnel application and set my TCP tunnel to forward request to this http tunnel. The http tunnel is now being set to direct the request to the web service provider.  This way, I was able to intercept SOAP messages generated and received by my application.

Comments:

I would have tried to use at least something like: http://www.ericdaugherty.com/dev/soht/ There are a ton of tunneling apps out there for unix...

Posted by SeSe on July 31, 2006 at 08:19 PM IST #

Thanks Se Se. SOHT will solve my problem perfectly as it is having provision to bypass proxy.

Posted by Manish on August 24, 2006 at 07:38 AM IST #

Post a Comment:
Comments are closed for this entry.
About

manishkg

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today