Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

unable to run tcpmon

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I usually connect to internet using a proxy and port since I am behind a corporate firewall.

I am trying to write a web service consumer using and trying to connect to a some third party web service provider
whose wsdl url is http://<some ip>/servicingWS/Reallocate.asmx

Now how do I configure the axis tool tcpmon so that I can see the soap request and soap response since when I run the web service client program I am getting an error from the server"faultString: (504)Gateway Time-out"
Is below configuration of tcpmon tool based on above data correct ?

Listen Port#: 80
Act as : Proxy
Options: HTTP Proxy Options, Hostname and Port#
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried using TCPTrace instaed of TCPmonintor ??
http://www.pocketsoap.com/tcptrace/
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Balaji,

I tried the tool but I am not seeing any soap messages on the wire ...

Can you please tell me how to configure the tool if I am behind a firewall and I use proxy and port (as told in my previous post) and I am accessing say a remote server ip 10.343.33.333 (say)
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A shot in the dark, but have you tried specifying the proxy on the cmd line you use to start tcpmon?

Something like:
java -Dhttp.proxyHost=your.proxy -Dhttp.proxyPort=yourProxyPort org.apache.axis.utils.tcpmon 80 http://<some ip> 80

Mike
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mike,

I have tried all the options and I get a status message "Waiting for Connection" for a prolonged time ....
 
Their achilles heel is the noogie! Give them noogies tiny ad!
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic