• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use tcpmon

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a web application that is running on localhost 8443.

In my application I have a webform where the user enters the data , i store this data to database using a webservice ..


How to use the tcpmon in this situation.

 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So the flow is: users enters data in form -> submits to web app -> calls web service -> web service stores data in DB?

Which part do you want to monitor: user -> web app, or web app -> web service?
 
nand rai
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to monitor the soap request from webapp --> to webservice.

servlet which uses the stub class to call the web service operation.

web service is hosted on a differnet server.

i want to capture the request when this operation happens.

 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Should be no problem as long as the web app is under your control; meaning - you can change the WS URL (and port) to point to your tcpmon instance, and from there to the actual WS.
 
nand rai
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:Should be no problem as long as the we
b app is under your control; meaning - you can change the WS URL (and port) to point to your tcpmon instance, and from there to the actual WS.



I am not following the word " you can change the WS URL (and port) to point to your tcpmon instance, and from there to the actual WS". How do i do that. your help is greatly appriciated.
 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tcpmon runs on a machine with a particular IP address on a particular port - that's the IP address and port you need to use for the WS call. That way, the WC call gets sent to tcpmon instead of its actual target. And you need to set tcpmon to forward all incoming traffic to the actual IP address and port where the WS call was supposed to go.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic