• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

USing TCP monitor - AXIS

 
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have not understood the behavior of TCP monitor utility of apche axis . axis user guide says -

Now each time a SOAP connection is made to the local port, you will see the request appear in the "Request" panel, and the response from the server in the "Response" panel.


However, i don't see any request/responce xml in the TCP monitor, when i run the client of the web service....how should you monitor the soap messages ?
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Rashmi,
after bringing up TCPMonitor you have to add a listen port to listen to the requests,
Listen port# 8081 for instance.
and assuming your servers listering port is 8080(it'll show up in the target host, targetport fields), you have to send your requests to 8081 port now.
for ex. call.setTargetEndPointAddress("http://localhost:8081//axis/servlet/AxisServlet");
or
call.setTargetEndPointAddress("http://localhost:8081//axis/yourService");

Hope this helps,
Pavan
 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ohh.....thanks a lot pavan! it worked.
thanks once again.
 
brevity is the soul of wit - shakepeare. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic